Refactor localization.js

This commit is contained in:
schlagmichdoch 2023-12-15 21:20:26 +01:00
parent d3a623d352
commit c08b324d6a
2 changed files with 91 additions and 51 deletions

View file

@ -132,7 +132,7 @@ class HeaderUI {
this.$header.classList.remove('overflow-expanded');
const rtlLocale = Localization.isCurrentLocaleRtl();
const rtlLocale = Localization.currentLocaleIsRtl();
let icon;
const $headerIconsShown = document.querySelectorAll('body > header:first-of-type > *:not([hidden])');