mirror of
https://github.com/ONLYOFFICE/web-apps.git
synced 2026-07-23 23:47:46 +08:00
[mobile] fix "rtl" option getting
This commit is contained in:
@ -8,7 +8,7 @@ const load_stylesheet = reflink => {
|
||||
document.getElementsByTagName("head")[0].appendChild(link);
|
||||
};
|
||||
|
||||
if ( !localStorage && localStorage.getItem('mode-direction') === 'rtl' ) {
|
||||
if ( localStorage && localStorage.getItem('mobile-mode-direction') === 'rtl' ) {
|
||||
load_stylesheet('./css/framework7-rtl.css')
|
||||
document.body.classList.add('rtl');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user