Cleanup time handling

This commit is contained in:
djmaze 2021-07-19 14:26:32 +02:00
parent bb15cd1ec3
commit 1f2208d304
3 changed files with 11 additions and 8 deletions

View file

@ -140,7 +140,7 @@ export function reload(admin, language) {
// reload the data
if (init()) {
i18nToNodes(doc);
dispatchEvent(new CustomEvent('reload-time'));
admin || rl.app.reloadTime();
trigger(!trigger());
}
script.remove();