diff --git a/index.js b/index.js index 0ba2357..8d088cf 100644 --- a/index.js +++ b/index.js @@ -181,6 +181,7 @@ class Tab extends EventEmitter { if (this.isClosed) return; let span = this.tabElements.title; span.innerHTML = title; + span.title = title; this.title = title; this.emit("title-changed", title, this); return this; @@ -418,3 +419,4 @@ const TabPrivate = { }; module.exports = TabGroup; +