1
0
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:
GeoSot
2021-06-10 10:55:34 +03:00
committed by XhmikosR
parent 3716603dbc
commit a97fd1cd24
2 changed files with 9 additions and 14 deletions

View File

@@ -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() {