mirror of
https://github.com/twbs/bootstrap.git
synced 2025-09-27 05:49:07 +02:00
Tooltip/Popover: add underscore prefix to protected functions
This commit is contained in:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user