diff options
| author | GeoSot <[email protected]> | 2021-11-29 16:25:12 +0200 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2021-12-01 18:00:36 +0200 |
| commit | 385fea49e8a7c83f2e9655cd9453256aef254aaa (patch) | |
| tree | b0aa855613a8bdffd70e0a03a2a4593394e02bf9 /js/src/popover.js | |
| parent | bd79d69a73a77172584baadf9aa36e2d2091160e (diff) | |
| download | bootstrap-385fea49e8a7c83f2e9655cd9453256aef254aaa.tar.xz bootstrap-385fea49e8a7c83f2e9655cd9453256aef254aaa.zip | |
Tooltip/Popover: add underscore prefix to protected functions
Diffstat (limited to 'js/src/popover.js')
| -rw-r--r-- | js/src/popover.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/src/popover.js b/js/src/popover.js index aea1b9702..77f847110 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -73,14 +73,14 @@ class Popover extends Tooltip { } // Overrides - isWithContent() { - return this.getTitle() || this._getContent() + _isWithContent() { + return this._getTitle() || this._getContent() } // Private _getContentForTemplate() { return { - [SELECTOR_TITLE]: this.getTitle(), + [SELECTOR_TITLE]: this._getTitle(), [SELECTOR_CONTENT]: this._getContent() } } |
