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:
parent
101abc762b
commit
d6bcc7466b
12 changed files with 40 additions and 40 deletions
|
@ -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');
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue