Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkadushkin authored and K0R0L committed Jan 29, 2024
1 parent a8d8a78 commit 8ac3e38
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/common/main/lib/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -1200,10 +1200,10 @@ Common.Utils.getKeyByValue = function(obj, value) {
!Common.UI && (Common.UI = {});
Common.UI.isRTL = function () {
if ( window.isrtl === undefined ) {
if ( window.nativeprocvars || window.nativeprocvars.rtl !== undefined )
window.isrtl = !Common.Utils.isIE && Common.localStorage.getBool("ui-rtl", Common.Locale.isCurrentLanguageRtl());
else window.isrtl = window.nativeprocvars.rtl;
if ( window.nativeprocvars && window.nativeprocvars.rtl !== undefined )
window.isrtl = window.nativeprocvars.rtl;
else window.isrtl = !Common.Utils.isIE && Common.localStorage.getBool("ui-rtl", Common.Locale.isCurrentLanguageRtl());
}

return window.isrtl;
};
};

0 comments on commit 8ac3e38

Please sign in to comment.