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
|
@ -64,8 +64,9 @@ function checkAndProcessDir(culture) {
|
|||
function setDocumentDirection(direction) {
|
||||
document.getElementsByTagName('body')[0].setAttribute('dir', direction);
|
||||
document.getElementsByTagName('html')[0].setAttribute('dir', direction);
|
||||
if (direction === Direction.rtl)
|
||||
if (direction === Direction.rtl) {
|
||||
import('../styles/rtl.scss');
|
||||
}
|
||||
}
|
||||
|
||||
export function getIsElementRTL(element) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue