mirror of
https://codeberg.org/Hyperpipe/Hyperpipe
synced 2025-06-28 13:08:01 +02:00
fmt
This commit is contained in:
parent
e87f55dffc
commit
7cb1566495
1 changed files with 4 additions and 5 deletions
|
@ -86,13 +86,12 @@ 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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue