1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update components

This commit is contained in:
Luke Pulverenti 2016-10-18 01:06:48 -04:00
parent 138611efb5
commit 11615f4399
72 changed files with 829 additions and 623 deletions

View file

@ -3,7 +3,7 @@ define(['browser', 'appSettings', 'events'], function (browser, appSettings, eve
function setLayout(self, layout, selectedLayout) {
if (layout == selectedLayout) {
if (layout === selectedLayout) {
self[layout] = true;
document.documentElement.classList.add('layout-' + layout);
} else {
@ -12,7 +12,7 @@ define(['browser', 'appSettings', 'events'], function (browser, appSettings, eve
}
}
function layoutManager() {
function LayoutManager() {
var self = this;
@ -62,7 +62,7 @@ define(['browser', 'appSettings', 'events'], function (browser, appSettings, eve
self.autoLayout();
}
};
};
}
return new layoutManager();
return new LayoutManager();
});