2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-08 17:22:31 +03:00

Run grunt.

[ci skip]
This commit is contained in:
XhmikosR
2015-08-30 00:01:30 +03:00
parent 647ad1cbed
commit 6e732ace2c
15 changed files with 24 additions and 24 deletions
+3 -3
View File
@@ -121,10 +121,10 @@
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
+2 -2
View File
@@ -348,9 +348,9 @@
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);