mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 10:58:20 -07:00
Merge pull request #388 from Nickbert7/patch-1
Enable display mode setting
This commit is contained in:
commit
fee99120d5
@ -274,6 +274,7 @@ define(["appSettings", "browser", "events", "htmlMediaHelper"], function (appSet
|
||||
|
||||
features.push("displaylanguage");
|
||||
features.push("otherapppromotions");
|
||||
features.push("displaymode");
|
||||
features.push("targetblank"); // allows users to connect to more than one server
|
||||
//features.push("multiserver");
|
||||
|
||||
|
@ -40,7 +40,7 @@ define(['dom'], function (dom) {
|
||||
|
||||
try {
|
||||
element.focus({
|
||||
preventScroll: true
|
||||
preventScroll: false
|
||||
});
|
||||
} catch (err) {
|
||||
console.log('Error in focusManager.autoFocus: ' + err);
|
||||
@ -548,4 +548,4 @@ define(['dom'], function (dom) {
|
||||
focusLast: focusLast,
|
||||
moveFocus: moveFocus
|
||||
};
|
||||
});
|
||||
});
|
||||
|
@ -771,7 +771,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
||||
return new Promise(function (resolve, reject) {
|
||||
require(["navdrawer"], function (navdrawer) {
|
||||
navDrawerInstance = new navdrawer(getNavDrawerOptions());
|
||||
navDrawerElement.classList.remove("hide");
|
||||
if (!layoutManager.tv) {
|
||||
navDrawerElement.classList.remove("hide");
|
||||
}
|
||||
resolve(navDrawerInstance);
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user