Update OldTitleBar.plugin.js

This commit is contained in:
Mirco Wittrien 2019-12-11 00:48:13 +01:00
parent 7542eb5faf
commit f066ad5bdc
1 changed files with 1 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class OldTitleBar {
this.patchMainScreen(BDFDB.DataUtils.get(this, "settings", "displayNative"));
BDFDB.DOMUtils.addClass(document.documentElement, "OTB-enabled");
BDFDB.DOMUtils.addClass(document.body, "OTB-enabled");
BDFDB.ModuleUtils.forceAllUpdates(this);
}
@ -231,7 +231,6 @@ class OldTitleBar {
}
injectButtons (children, addFirstDivider) {
BDFDB.DOMUtils.addClass(document.documentElement, "OTB-enabled");
if (addFirstDivider) children.push(BDFDB.ReactUtils.createElement("div", {className: BDFDB.disCN.channelheaderdivider}))
if (BDFDB.DataUtils.get(this, "settings", "reloadButton")) {
children.push(BDFDB.ReactUtils.createElement(BDFDB.LibraryComponents.TooltipContainer, {