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) {
category = "Channels";
} else {
if ("Theme" === category) {
category = "Themes";
} else if ("LiveTV" === category) {
category = "HeaderLiveTV";
} else if ("ScreenSaver" === category) {
category = "HeaderScreenSavers";
}
} else if ("Theme" === category) {
category = "Themes";
} else if ("LiveTV" === category) {
category = "HeaderLiveTV";
} else if ("ScreenSaver" === category) {
category = "HeaderScreenSavers";
}
return globalize.translate(category);