1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

Fix curly bracket issues

This commit is contained in:
Bill Thornton 2023-09-12 17:29:03 -04:00
parent 101abc762b
commit d6bcc7466b
12 changed files with 40 additions and 40 deletions

View file

@ -206,10 +206,11 @@ class NavDrawer {
options.target.classList.add('touch-menu-la');
options.target.style.width = options.width + 'px';
if (globalize.getIsRTL())
if (globalize.getIsRTL()) {
options.target.style.right = -options.width + 'px';
else
} else {
options.target.style.left = -options.width + 'px';
}
if (!options.disableMask) {
this.mask = document.createElement('div');

View file

@ -189,8 +189,9 @@ const scrollerFactory = function (frame, options) {
// Set position limits & relatives
self._pos.end = Math.max(slideeSize - frameSize, 0);
if (globalize.getIsRTL())
if (globalize.getIsRTL()) {
self._pos.end *= -1;
}
}
}