Some small cleanups

This commit is contained in:
the-djmaze 2022-03-08 10:52:40 +01:00
parent 04f4538700
commit c0f494c758
5 changed files with 13 additions and 22 deletions

View file

@ -43,10 +43,8 @@ export const
clearTimer = () => {
__themeTimer = setTimeout(() => themeTrigger(SaveSettingsStep.Idle), 1000);
__themeJson = null;
};
let url = themeStyle.dataset.href.replace(/(Admin|User)\/-\/[^/]+\//, '$1/-/' + value + '/')
+ 'Json/';
},
url = themeStyle.dataset.href.replace(/(Admin|User)\/-\/[^/]+\//, '$1/-/' + value + '/') + 'Json/';
clearTimeout(__themeTimer);