mirror of
https://github.com/arcan1s/ahriman.git
synced 2025-08-29 12:59:55 +00:00
feat: allow to use 0 as auto refresh interval with special meaning (#148)
This commit is contained in:
@ -154,6 +154,8 @@
|
||||
// finally create timer task
|
||||
return setInterval(callback, interval);
|
||||
}
|
||||
} else {
|
||||
toggle.checked = false; // no active interval found, disable toggle
|
||||
}
|
||||
|
||||
return null; // return null to assign to keep method sane
|
||||
|
Reference in New Issue
Block a user