mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-17 19:08:18 -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("displaylanguage");
|
||||||
features.push("otherapppromotions");
|
features.push("otherapppromotions");
|
||||||
|
features.push("displaymode");
|
||||||
features.push("targetblank"); // allows users to connect to more than one server
|
features.push("targetblank"); // allows users to connect to more than one server
|
||||||
//features.push("multiserver");
|
//features.push("multiserver");
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ define(['dom'], function (dom) {
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
element.focus({
|
element.focus({
|
||||||
preventScroll: true
|
preventScroll: false
|
||||||
});
|
});
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
console.log('Error in focusManager.autoFocus: ' + err);
|
console.log('Error in focusManager.autoFocus: ' + err);
|
||||||
|
@ -771,7 +771,9 @@ define(["dom", "layoutManager", "inputManager", "connectionManager", "events", "
|
|||||||
return new Promise(function (resolve, reject) {
|
return new Promise(function (resolve, reject) {
|
||||||
require(["navdrawer"], function (navdrawer) {
|
require(["navdrawer"], function (navdrawer) {
|
||||||
navDrawerInstance = new navdrawer(getNavDrawerOptions());
|
navDrawerInstance = new navdrawer(getNavDrawerOptions());
|
||||||
|
if (!layoutManager.tv) {
|
||||||
navDrawerElement.classList.remove("hide");
|
navDrawerElement.classList.remove("hide");
|
||||||
|
}
|
||||||
resolve(navDrawerInstance);
|
resolve(navDrawerInstance);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user