2
0
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:
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
+1 -1
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() {