nag a little later
This commit is contained in:
parent
c45bf671fb
commit
0702631003
@ -9,7 +9,7 @@
|
|||||||
"hide-context": false,
|
"hide-context": false,
|
||||||
"conflict-action": "uniquify",
|
"conflict-action": "uniquify",
|
||||||
"nagging": 0,
|
"nagging": 0,
|
||||||
"nagging-next": 6,
|
"nagging-next": 7,
|
||||||
"tooltip": true,
|
"tooltip": true,
|
||||||
"show-urls": false,
|
"show-urls": false,
|
||||||
"remove-missing-on-init": false,
|
"remove-missing-on-init": false,
|
||||||
|
@ -44,7 +44,7 @@ addEventListener("DOMContentLoaded", function dom() {
|
|||||||
const fullyloaded = Promise.all([LOADED, platformed, tabled, localized]);
|
const fullyloaded = Promise.all([LOADED, platformed, tabled, localized]);
|
||||||
fullyloaded.then(async () => {
|
fullyloaded.then(async () => {
|
||||||
const nag = await Prefs.get("nagging", 0);
|
const nag = await Prefs.get("nagging", 0);
|
||||||
const nagnext = await Prefs.get("nagging-next", 6);
|
const nagnext = await Prefs.get("nagging-next", 7);
|
||||||
const next = Math.ceil(Math.log2(Math.max(1, nag)));
|
const next = Math.ceil(Math.log2(Math.max(1, nag)));
|
||||||
const el = $("#nagging");
|
const el = $("#nagging");
|
||||||
const remove = () => {
|
const remove = () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user