mirror of
https://ark.sudovanilla.org/Korbs/electron-tabs.git
synced 2024-12-22 19:43:53 +00:00
commit
f75d420be7
4
index.js
4
index.js
|
@ -268,7 +268,7 @@ const TabPrivate = {
|
|||
let button = container.appendChild(document.createElement("button"));
|
||||
button.classList.add(`${tabClass}-button-close`);
|
||||
button.innerHTML = this.tabGroup.options.closeButtonText;
|
||||
button.addEventListener("click", this.close.bind(this), false);
|
||||
button.addEventListener("click", this.close.bind(this, false), false);
|
||||
}
|
||||
},
|
||||
|
||||
|
@ -313,4 +313,4 @@ const TabPrivate = {
|
|||
}
|
||||
};
|
||||
|
||||
module.exports = TabGroup;
|
||||
module.exports = TabGroup;
|
||||
|
|
Loading…
Reference in a new issue