diff options
| author | GeoSot <[email protected]> | 2021-12-15 10:47:32 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-12-15 10:47:32 +0200 |
| commit | e0960b08e030f8c4c0c838c1dd0c392209d51f92 (patch) | |
| tree | 5cacde7716453996bc92ea85001e3488e946d300 /js | |
| parent | d40fae456e0273c7e8c98cbdd17c55fd5d69ec47 (diff) | |
| download | bootstrap-e0960b08e030f8c4c0c838c1dd0c392209d51f92.tar.xz bootstrap-e0960b08e030f8c4c0c838c1dd0c392209d51f92.zip | |
Tooltip: remove extraneous call to _getConfig() (#35540)
BaseClass already initializes the config
Co-authored-by: XhmikosR <[email protected]>
Diffstat (limited to 'js')
| -rw-r--r-- | js/src/tooltip.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js index 9c8e54c66..94c3935bd 100644 --- a/js/src/tooltip.js +++ b/js/src/tooltip.js @@ -117,7 +117,7 @@ class Tooltip extends BaseComponent { throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)') } - super(element) + super(element, config) // Private this._isEnabled = true @@ -128,7 +128,6 @@ class Tooltip extends BaseComponent { this._templateFactory = null // Protected - this._config = this._getConfig(config) this.tip = null this._setListeners() |
