Skip to content

Commit

Permalink
Merge pull request #3004 from ONLYOFFICE/fix/bugfix
Browse files Browse the repository at this point in the history
Fix open arabic interface
  • Loading branch information
maxkadushkin authored May 22, 2024
2 parents 9aa18f7 + f43b1e6 commit fafca33
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions apps/common/main/lib/util/htmlutils.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,11 @@ if ( window.nativeprocvars && window.nativeprocvars.rtl !== undefined ) {

if ( ui_rtl && !isIE ) {
document.body.setAttribute('dir', 'rtl');
document.body.classList.add('rtl', 'rtl-font');
document.body.classList.add('rtl');
}
if ( isLangRtl(lang) ) {
document.body.classList.add('rtl-font');
}


function checkScaling() {
var matches = {
Expand Down

0 comments on commit fafca33

Please sign in to comment.