diff --git a/public/index.html b/public/index.html index 39bd1c828..1e7d135ca 100644 --- a/public/index.html +++ b/public/index.html @@ -2494,6 +2494,7 @@ + diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index b09827140..92d9291c0 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -2113,17 +2113,12 @@ $(document).ready(() => { if (language) { localStorage.setItem(storage_keys.ui_language, language); - window["applyLocale"](); } else { - const result = confirm("Are you sure you want to reset the language to default? This will reload the page.") - if (result) { - localStorage.removeItem(storage_keys.ui_language); - location.reload(); - } else { - $(this).val(localStorage.getItem(storage_keys.ui_language)); - } + localStorage.removeItem(storage_keys.ui_language); } - }) + + location.reload(); + }); $(window).on('focus', function () { browser_has_focus = true;