diff options
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 31c7a3ae1..30c0e4acb 100644 --- a/js/src/popover.js +++ b/js/src/popover.js @@ -141,7 +141,7 @@ const Popover = (($) => { _getContent() { return this.element.getAttribute('data-content') - || (typeof this.config.content == 'function' ? + || (typeof this.config.content === 'function' ? this.config.content.call(this.element) : this.config.content) } |
