mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-22 07:20:23 +00:00
grunt babel:dev
This commit is contained in:
parent
3de3dac0b0
commit
d06f79e2f7
4 changed files with 5 additions and 5 deletions
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
|
||||
|
|
|
|||
BIN
js/dist/popover.js.map
vendored
BIN
js/dist/popover.js.map
vendored
Binary file not shown.
4
js/dist/tooltip.js
vendored
4
js/dist/tooltip.js
vendored
|
|
@ -331,9 +331,9 @@ var Tooltip = (function ($) {
|
|||
value: function setContent() {
|
||||
var tip = this.getTipElement();
|
||||
var title = this.getTitle();
|
||||
var method = this.config.html ? 'innerHTML' : 'innerText';
|
||||
var method = this.config.html ? 'html' : 'text';
|
||||
|
||||
$(tip).find(Selector.TOOLTIP_INNER)[0][method] = title;
|
||||
$(tip).find(Selector.TOOLTIP_INNER)[method](title);
|
||||
|
||||
$(tip).removeClass(ClassName.FADE).removeClass(ClassName.IN);
|
||||
|
||||
|
|
|
|||
BIN
js/dist/tooltip.js.map
vendored
BIN
js/dist/tooltip.js.map
vendored
Binary file not shown.
Loading…
Reference in a new issue