aboutsummaryrefslogtreecommitdiff
path: root/docs/dist/js/umd/tooltip.js
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2015-08-30 00:01:30 +0300
committerXhmikosR <[email protected]>2015-08-30 00:01:30 +0300
commit6e732ace2cbb4beff58da86d95e59eeae8410391 (patch)
tree3be66a658df69b4cba5bcbb23b884adb1f53f3b3 /docs/dist/js/umd/tooltip.js
parent647ad1cbed3936d950a1cc7f540d63b61972d4ef (diff)
downloadbootstrap-6e732ace2cbb4beff58da86d95e59eeae8410391.tar.xz
bootstrap-6e732ace2cbb4beff58da86d95e59eeae8410391.zip
Run `grunt`.
[ci skip]
Diffstat (limited to 'docs/dist/js/umd/tooltip.js')
-rw-r--r--docs/dist/js/umd/tooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/dist/js/umd/tooltip.js b/docs/dist/js/umd/tooltip.js
index 307474d49..8b75867a2 100644
--- a/docs/dist/js/umd/tooltip.js
+++ b/docs/dist/js/umd/tooltip.js
@@ -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);