diff options
| author | GeoSot <[email protected]> | 2021-06-10 10:55:34 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-07-22 17:20:38 +0300 |
| commit | a97fd1cd2420a4c07589689593385484bd38fb50 (patch) | |
| tree | 71bb6a2564c7b6d392a39ed725dda0248238bb35 /js/src/popover.js | |
| parent | 3716603dbc3dc1b612c4ef6c83860195312f2532 (diff) | |
| download | bootstrap-a97fd1cd2420a4c07589689593385484bd38fb50.tar.xz bootstrap-a97fd1cd2420a4c07589689593385484bd38fb50.zip | |
use one private method to resolve string or function
Diffstat (limited to 'js/src/popover.js')
| -rw-r--r-- | js/src/popover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/popover.js b/js/src/popover.js index a08e4c4dd..5ef127b8a 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -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() { |
