mirror of
https://github.com/unraid/webgui.git
synced 2026-05-01 23:39:21 -05:00
Display: reset dashboard tiles when switching language
This commit is contained in:
@@ -32,11 +32,12 @@ function LanguageButton() {
|
||||
$.removeCookie('hidden_content');
|
||||
}
|
||||
if (locale) {
|
||||
switchLanguage('');
|
||||
$.cookie('locale',locale);
|
||||
switchLanguage('');
|
||||
} else {
|
||||
switchLanguage($.cookie('locale'));
|
||||
locale = $.cookie('locale');
|
||||
$.removeCookie('locale');
|
||||
switchLanguage(locale);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user