Update OldTitleBar.plugin.js

This commit is contained in:
Mirco Wittrien 2019-04-27 09:30:09 +02:00
parent 5f88b8f0f9
commit d5b594d433
1 changed files with 1 additions and 0 deletions

View File

@ -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 () {