Fix wrongly removed replace

This commit is contained in:
ferferga 2020-04-03 00:10:18 +02:00
parent eb8ae3ea70
commit eba46a9576

View File

@ -16,7 +16,7 @@ define(["loading", "libraryMenu", "globalize", "cardStyle", "emby-button", "emby
}
function getHeaderText(category) {
category = category(" ", "");
category = category.replace(" ", "");
if ("Channel" === category) {
category = "Channels";
} else if ("Theme" === category) {