Update OldTitleBar.plugin.js
This commit is contained in:
parent
5f88b8f0f9
commit
d5b594d433
|
@ -243,6 +243,7 @@ class OldTitleBar {
|
||||||
var closebutton = BDFDB.htmlToElement(this.closeButtonMarkup);
|
var closebutton = BDFDB.htmlToElement(this.closeButtonMarkup);
|
||||||
bar.appendChild(closebutton);
|
bar.appendChild(closebutton);
|
||||||
closebutton.querySelector(BDFDB.dotCN.channelheadericon).addEventListener("click", () => {this.window.close();});
|
closebutton.querySelector(BDFDB.dotCN.channelheadericon).addEventListener("click", () => {this.window.close();});
|
||||||
|
if (BDFDB.containsClass(bar, "settingsTitlebarOTB")) BDFDB.removeEles(bar.querySelector(".dividerOTB"));
|
||||||
}
|
}
|
||||||
|
|
||||||
changeMaximizeButtons () {
|
changeMaximizeButtons () {
|
||||||
|
|
Loading…
Reference in New Issue