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

@ -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) {