From 6c88b54c12c7e63f3977365bef181f7114bc914c Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Tue, 24 Sep 2019 09:30:27 +0200 Subject: [PATCH] Update OldTitleBar.plugin.js --- Plugins/OldTitleBar/OldTitleBar.plugin.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Plugins/OldTitleBar/OldTitleBar.plugin.js b/Plugins/OldTitleBar/OldTitleBar.plugin.js index 0fdbeec4f2..fe40578d20 100644 --- a/Plugins/OldTitleBar/OldTitleBar.plugin.js +++ b/Plugins/OldTitleBar/OldTitleBar.plugin.js @@ -3,7 +3,7 @@ class OldTitleBar { getName () {return "OldTitleBar";} - getVersion () {return "1.5.8";} + getVersion () {return "1.5.9";} getAuthor () {return "DevilBro";} @@ -11,7 +11,7 @@ class OldTitleBar { constructor () { this.changelog = { - "fixed":[["Light Theme Update","Fixed bugs for the Light Theme Update, which broke 99% of my plugins"]] + "fixed":[["Activity Page","Fixed the issue where no icosn woud be added on the activity page"]] }; this.patchModules = { @@ -225,8 +225,9 @@ class OldTitleBar { var settings = BDFDB.getAllData(this, "settings"); if (BDFDB.getData("addOldBar", this, "settings")) { var headerbar = BDFDB.htmlToElement(``); + console.log(headerbar); this.createButtons(headerbar); - let headerbaricon = document.querySelector(BDFDB.dotCN.channelheadertoolbar + " > " + BDFDB.dotCN.channelheadericonwrapper); + let headerbaricon = document.querySelector(BDFDB.dotCN.channelheaderchildren); if (headerbaricon) headerbaricon.parentElement.appendChild(headerbar); this.changeMaximizeButtons(); }