mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-10 15:44:51 +02:00
grunt babel:dev
This commit is contained in:
6
js/dist/popover.js
vendored
6
js/dist/popover.js
vendored
@@ -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
|
||||
|
Reference in New Issue
Block a user