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)
|
||||||
@ -67,3 +65,5 @@ if (pwbutton != null)
|
|||||||
add_dls();
|
add_dls();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
if (ebi('setpw'))
|
||||||
|
ebi('setpw').onclick = setpw;
|
||||||
|
Loading…
Reference in New Issue
Block a user