From d5b594d433d981a5bd8002088fc60707a681fca0 Mon Sep 17 00:00:00 2001 From: Mirco Wittrien Date: Sat, 27 Apr 2019 09:30:09 +0200 Subject: [PATCH] Update OldTitleBar.plugin.js --- Plugins/OldTitleBar/OldTitleBar.plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/Plugins/OldTitleBar/OldTitleBar.plugin.js b/Plugins/OldTitleBar/OldTitleBar.plugin.js index 3ac64cec1c..e5020a1b7b 100644 --- a/Plugins/OldTitleBar/OldTitleBar.plugin.js +++ b/Plugins/OldTitleBar/OldTitleBar.plugin.js @@ -243,6 +243,7 @@ class OldTitleBar { var closebutton = BDFDB.htmlToElement(this.closeButtonMarkup); bar.appendChild(closebutton); closebutton.querySelector(BDFDB.dotCN.channelheadericon).addEventListener("click", () => {this.window.close();}); + if (BDFDB.containsClass(bar, "settingsTitlebarOTB")) BDFDB.removeEles(bar.querySelector(".dividerOTB")); } changeMaximizeButtons () {