mirror of
https://github.com/9001/copyparty.git
synced 2026-06-18 20:22:27 -06:00
fix (?) favico example toggle and make it separate setting
This commit is contained in:
parent
592aa7f725
commit
b2c34c5569
|
|
@ -1830,9 +1830,6 @@ input.ssconf_v {
|
|||
height: 1em;
|
||||
overflow: hidden;
|
||||
}
|
||||
#ico1 {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
@ -1996,6 +1993,7 @@ html {
|
|||
white-space-collapse: preserve;
|
||||
position: relative;
|
||||
vertical-align: top;
|
||||
cursor: pointer;
|
||||
}
|
||||
#wfp .btn {
|
||||
font-size: 1em;
|
||||
|
|
@ -2424,8 +2422,7 @@ a.btn,
|
|||
#rui label,
|
||||
#modal-ok,
|
||||
#modal-ng,
|
||||
#ops,
|
||||
#ico1 {
|
||||
#ops {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
|
|
|
|||
|
|
@ -1283,12 +1283,12 @@ ebi('op_cfg').innerHTML = (
|
|||
' </div>\n' +
|
||||
'</div>\n' +
|
||||
'<div>\n' +
|
||||
' <h3 id="h_favico"><span id="ico1">🎉</span> ' + L.cl_favico + '</h3>\n' +
|
||||
' <h3 id="h_favico">🎉 ' + L.cl_favico + '</h3>\n' +
|
||||
' <div>\n' +
|
||||
' <input type="text" id="icot" value="" ' + NOAC + ' style="width:1.3em" tt="' + L.cft_text + '" />' +
|
||||
' <input type="text" id="icof" value="" ' + NOAC + ' style="width:2em" tt="' + L.cft_fg + '" />' +
|
||||
' <input type="text" id="icob" value="" ' + NOAC + ' style="width:2em" tt="' + L.cft_bg + '" />' +
|
||||
' </td>\n' +
|
||||
' <a id="ico1" class="btn">🔄️</a>\n' +
|
||||
' </div>\n' +
|
||||
'</div>\n' +
|
||||
'<div>\n' +
|
||||
|
|
|
|||
|
|
@ -3434,8 +3434,8 @@ function warn_uploader_busy(e) {
|
|||
tt.init();
|
||||
favico.init();
|
||||
ebi('ico1').onclick = function () {
|
||||
var a = favico.txt == this.textContent;
|
||||
swrite('icot', a ? 'c' : this.textContent);
|
||||
var a = favico.txt == '🎉';
|
||||
swrite('icot', a ? 'c' : '🎉');
|
||||
swrite('icof', a ? 'fc5' : '000');
|
||||
swrite('icob', a ? '222' : '');
|
||||
favico.init();
|
||||
|
|
|
|||
Loading…
Reference in a new issue