This commit is contained in:
Shiny Nematoda 2024-01-01 12:10:56 +00:00
parent e87f55dffc
commit 7cb1566495

View file

@ -86,14 +86,13 @@ function getStoreBool(key, ele, def) {
} }
function toPerc(n) { function toPerc(n) {
return n.toFixed(0) + '%' return n.toFixed(0) + '%';
} }
function setCustom(key, e) { function setCustom(key, e) {
let v = e.target.value;
let v = e.target.value; v = v == 'x' ? prompt('instance') : v;
v = v == 'x' ? prompt('instance') : v v && setStore(key, v);
v && setStore(key, v);
} }
async function setAuth(e) { async function setAuth(e) {