Merge pull request #388 from Nickbert7/patch-1

Enable display mode setting
This commit is contained in:
dkanada 2019-07-18 22:35:29 -07:00 committed by GitHub
commit fee99120d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 3 deletions

View File

@ -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");

View File

@ -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
};
});
});

View File

@ -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);
});
});