fixed indentation and if statement

This commit is contained in:
cvium 2019-01-12 20:06:26 +01:00
parent 6651a62ca6
commit f27ff18cd1

View File

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