aboutsummaryrefslogtreecommitdiff
path: root/js/dist/tooltip.js
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2015-08-26 01:27:45 -0700
committerChris Rebert <[email protected]>2015-08-26 01:27:45 -0700
commitd06f79e2f7195032891cbf5b2c27371064cf18d6 (patch)
treed6320e21b333cb53a18969334a5d67840f908f80 /js/dist/tooltip.js
parent3de3dac0b0389384f26d3dff96670c2926ca22dc (diff)
downloadbootstrap-d06f79e2f7195032891cbf5b2c27371064cf18d6.tar.xz
bootstrap-d06f79e2f7195032891cbf5b2c27371064cf18d6.zip
grunt babel:dev
Diffstat (limited to 'js/dist/tooltip.js')
-rw-r--r--js/dist/tooltip.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/dist/tooltip.js b/js/dist/tooltip.js
index a1bd76873..fd542f2ab 100644
--- a/js/dist/tooltip.js
+++ b/js/dist/tooltip.js
@@ -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);