mirror of
https://github.com/twbs/bootstrap.git
synced 2025-04-09 01:53:53 +02:00
Tooltip: remove extraneous call to _getConfig() (#35540)
BaseClass already initializes the config Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
parent
d40fae456e
commit
e0960b08e0
@ -117,7 +117,7 @@ class Tooltip extends BaseComponent {
|
|||||||
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)')
|
throw new TypeError('Bootstrap\'s tooltips require Popper (https://popper.js.org)')
|
||||||
}
|
}
|
||||||
|
|
||||||
super(element)
|
super(element, config)
|
||||||
|
|
||||||
// Private
|
// Private
|
||||||
this._isEnabled = true
|
this._isEnabled = true
|
||||||
@ -128,7 +128,6 @@ class Tooltip extends BaseComponent {
|
|||||||
this._templateFactory = null
|
this._templateFactory = null
|
||||||
|
|
||||||
// Protected
|
// Protected
|
||||||
this._config = this._getConfig(config)
|
|
||||||
this.tip = null
|
this.tip = null
|
||||||
|
|
||||||
this._setListeners()
|
this._setListeners()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user