mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-06 13:46:42 +02:00
Re-set tooltip title, on disposal (#36751)
fix(reg): Re-set tooltip title, on disposal
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
Reference in New Issue
Block a user