Merge pull request #17 from rriclet/bug/force

Bug/force
This commit is contained in:
Thomas Brouard 2017-04-05 09:44:27 +02:00 committed by GitHub
commit f75d420be7

View file

@ -268,7 +268,7 @@ const TabPrivate = {
let button = container.appendChild(document.createElement("button")); let button = container.appendChild(document.createElement("button"));
button.classList.add(`${tabClass}-button-close`); button.classList.add(`${tabClass}-button-close`);
button.innerHTML = this.tabGroup.options.closeButtonText; 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;