diff options
author | Chris Rebert <code@chrisrebert.com> | 2015-08-26 11:27:45 +0300 |
---|---|---|
committer | Chris Rebert <code@chrisrebert.com> | 2015-08-26 11:27:45 +0300 |
commit | d06f79e2f7195032891cbf5b2c27371064cf18d6 (patch) | |
tree | d6320e21b333cb53a18969334a5d67840f908f80 /js/dist/popover.js | |
parent | 3de3dac0b0389384f26d3dff96670c2926ca22dc (diff) |
grunt babel:dev
Diffstat (limited to 'js/dist/popover.js')
-rw-r--r-- | js/dist/popover.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/js/dist/popover.js b/js/dist/popover.js index 5e057c0fe6..9e7b6e8393 100644 --- a/js/dist/popover.js +++ b/js/dist/popover.js @@ -104,10 +104,10 @@ var Popover = (function ($) { var tip = this.getTipElement(); var title = this.getTitle(); var content = this._getContent(); - var titleElement = $(tip).find(Selector.TITLE)[0]; + var $titleElement = $(tip).find(Selector.TITLE); - if (titleElement) { - titleElement[this.config.html ? 'innerHTML' : 'innerText'] = title; + if ($titleElement) { + $titleElement[this.config.html ? 'html' : 'text'](title); } // we use append for html objects to maintain js events |