2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-02 16:04:07 +03:00

Re-set tooltip title, on disposal (#36751)

fix(reg): Re-set tooltip title, on disposal
This commit is contained in:
GeoSot
2022-07-27 17:40:05 +03:00
committed by GitHub
parent 44c9c8df8d
commit dfae892801
2 changed files with 23 additions and 0 deletions
+4
View File
@@ -185,6 +185,10 @@ class Tooltip extends BaseComponent {
this.tip.remove()
}
if (this._config.originalTitle) {
this._element.setAttribute('title', this._config.originalTitle)
}
this._disposePopper()
super.dispose()
}