mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 13:59:06 +02:00
use one private method to resolve string or function
This commit is contained in:
@@ -124,7 +124,7 @@ class Popover extends Tooltip {
|
||||
// Private
|
||||
|
||||
_getContent() {
|
||||
return this._element.getAttribute('data-bs-content') || this._config.content
|
||||
return this._resolvePossibleFunction(this._config.content)
|
||||
}
|
||||
|
||||
_getBasicClassPrefix() {
|
||||
|
Reference in New Issue
Block a user