aboutsummaryrefslogtreecommitdiff
path: root/js/bootstrap-tooltip.js
diff options
context:
space:
mode:
authorJacob Thornton <[email protected]>2012-04-04 15:02:30 -0700
committerJacob Thornton <[email protected]>2012-04-04 15:02:30 -0700
commit83febb3452ecd81241ddc004509ec64de8b13a92 (patch)
tree049d15d5ebed8c11e804cfc293f3f695072b8aea /js/bootstrap-tooltip.js
parent4bd611884a5f1dd02878f73bccd51d85c1e49186 (diff)
downloadbootstrap-83febb3452ecd81241ddc004509ec64de8b13a92.tar.xz
bootstrap-83febb3452ecd81241ddc004509ec64de8b13a92.zip
remake and add isHTML check to popover as well
Diffstat (limited to 'js/bootstrap-tooltip.js')
-rw-r--r--js/bootstrap-tooltip.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 63e903cb4..2f9254ed2 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -167,9 +167,8 @@
, setContent: function () {
var $tip = this.tip()
, title = this.getTitle()
- , isHTML = this.isHTML(title)
- $tip.find('.tooltip-inner')[isHTML ? 'html' : 'text'](title)
+ $tip.find('.tooltip-inner')[this.isHTML(title) ? 'html' : 'text'](title)
$tip.removeClass('fade in top bottom left right')
}