mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 02:48:19 -07:00
fixed indentation and if statement
This commit is contained in:
parent
6651a62ca6
commit
f27ff18cd1
@ -25,14 +25,12 @@ define(["loading", "libraryMenu", "globalize", "cardStyle", "emby-linkbutton", "
|
|||||||
|
|
||||||
if ("Channel" === category) {
|
if ("Channel" === category) {
|
||||||
category = "Channels";
|
category = "Channels";
|
||||||
} else {
|
} else if ("Theme" === category) {
|
||||||
if ("Theme" === category) {
|
category = "Themes";
|
||||||
category = "Themes";
|
} else if ("LiveTV" === category) {
|
||||||
} else if ("LiveTV" === category) {
|
category = "HeaderLiveTV";
|
||||||
category = "HeaderLiveTV";
|
} else if ("ScreenSaver" === category) {
|
||||||
} else if ("ScreenSaver" === category) {
|
category = "HeaderScreenSavers";
|
||||||
category = "HeaderScreenSavers";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return globalize.translate(category);
|
return globalize.translate(category);
|
||||||
|
Loading…
Reference in New Issue
Block a user