mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-11 18:02:28 +03:00
use one private method to resolve string or function
This commit is contained in:
+1
-1
@@ -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