diff options
| author | GeoSot <[email protected]> | 2022-07-27 17:40:05 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-07-27 17:40:05 +0300 |
| commit | dfae892801ffc194de6aec34d543d908db3dd8e1 (patch) | |
| tree | d50188d942ae6fd7b050872b11fdcb544b2a0299 /js/src | |
| parent | 44c9c8df8d8e5be84d5bea47f8ee110b64e86e62 (diff) | |
| download | bootstrap-dfae892801ffc194de6aec34d543d908db3dd8e1.tar.xz bootstrap-dfae892801ffc194de6aec34d543d908db3dd8e1.zip | |
Re-set tooltip title, on disposal (#36751)
fix(reg): Re-set tooltip title, on disposal
Diffstat (limited to 'js/src')
| -rw-r--r-- | js/src/tooltip.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 54ec0367e..2c5f03a29 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -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() } |
