Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
louismaximepiton authored and mdo committed Jul 11, 2022
1 parent 09262ff commit 5c96764
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/src/popover.js
Expand Up @@ -55,7 +55,7 @@ class Popover extends Tooltip {

// Overrides
_isWithContent() {
return Boolean(this._config.title || this._config.originalTitle || this._config.content)
return this._getTitle() || this._getContent()
}

// Private
Expand Down
2 changes: 1 addition & 1 deletion js/src/tooltip.js
Expand Up @@ -307,7 +307,7 @@ class Tooltip extends BaseComponent {

// Protected
_isWithContent() {
return Boolean(this._config.title || this._config.originalTitle)
return Boolean(this._getTitle())
}

_getTipElement() {
Expand Down

0 comments on commit 5c96764

Please sign in to comment.