mirror of
https://github.com/9001/copyparty.git
synced 2025-08-17 17:12:13 -06:00
Update svcs.js
Signed-off-by: ed <s@ocv.me>
This commit is contained in:
parent
161bbc7d26
commit
510100c86b
|
@ -49,9 +49,7 @@ function setos(os) {
|
||||||
setos(WINDOWS ? 'win' : LINUX ? 'lin' : MACOS ? 'mac' : 'idk');
|
setos(WINDOWS ? 'win' : LINUX ? 'lin' : MACOS ? 'mac' : 'idk');
|
||||||
|
|
||||||
|
|
||||||
pwbutton = ebi('setpw')
|
function setpw() {
|
||||||
if (pwbutton != null)
|
|
||||||
pwbutton.onclick = function (e) {
|
|
||||||
ev(e);
|
ev(e);
|
||||||
modal.prompt('password:', '', function (v) {
|
modal.prompt('password:', '', function (v) {
|
||||||
if (!v)
|
if (!v)
|
||||||
|
@ -66,4 +64,6 @@ if (pwbutton != null)
|
||||||
|
|
||||||
add_dls();
|
add_dls();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (ebi('setpw'))
|
||||||
|
ebi('setpw').onclick = setpw;
|
||||||
|
|
Loading…
Reference in a new issue