Update OldTitleBar.plugin.js
This commit is contained in:
parent
960877fb3c
commit
5ae4de67ad
|
@ -225,7 +225,6 @@ class OldTitleBar {
|
||||||
var settings = BDFDB.getAllData(this, "settings");
|
var settings = BDFDB.getAllData(this, "settings");
|
||||||
if (BDFDB.getData("addOldBar", this, "settings")) {
|
if (BDFDB.getData("addOldBar", this, "settings")) {
|
||||||
var headerbar = BDFDB.htmlToElement(`<span class="headerbarOTB ${BDFDB.disCNS.flex2 + BDFDB.disCNS.horizontal + BDFDB.disCNS.directionrow + BDFDB.disCNS.justifystart + BDFDB.disCNS.aligncenter + BDFDB.disCN.nowrap}"></span>`);
|
var headerbar = BDFDB.htmlToElement(`<span class="headerbarOTB ${BDFDB.disCNS.flex2 + BDFDB.disCNS.horizontal + BDFDB.disCNS.directionrow + BDFDB.disCNS.justifystart + BDFDB.disCNS.aligncenter + BDFDB.disCN.nowrap}"></span>`);
|
||||||
console.log(headerbar);
|
|
||||||
this.createButtons(headerbar);
|
this.createButtons(headerbar);
|
||||||
let headerbaricon = document.querySelector(BDFDB.dotCN.channelheaderchildren);
|
let headerbaricon = document.querySelector(BDFDB.dotCN.channelheaderchildren);
|
||||||
if (headerbaricon) headerbaricon.parentElement.appendChild(headerbar);
|
if (headerbaricon) headerbaricon.parentElement.appendChild(headerbar);
|
||||||
|
|
Loading…
Reference in New Issue