mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update components
This commit is contained in:
parent
138611efb5
commit
11615f4399
72 changed files with 829 additions and 623 deletions
|
@ -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();
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue