aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYohn <[email protected]>2012-12-24 18:07:41 -0500
committerYohn <[email protected]>2012-12-24 18:07:41 -0500
commite867ae7b603f3882832143ff315c9ab3fd3b8f13 (patch)
treec148da3da1d0051dbf58710fb4c279796f5b27d2
parentf152dead9216fc870c58cd4b272edc21c6545edc (diff)
downloadbootstrap-e867ae7b603f3882832143ff315c9ab3fd3b8f13.tar.xz
bootstrap-e867ae7b603f3882832143ff315c9ab3fd3b8f13.zip
removed the length check
updated it to @fat's suggestion
-rw-r--r--js/bootstrap-tooltip.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js
index 82fa96078..3ad8b6761 100644
--- a/js/bootstrap-tooltip.js
+++ b/js/bootstrap-tooltip.js
@@ -127,7 +127,7 @@
.detach()
.css({ top: 0, left: 0, display: 'block' })
- this.options.container && $tip.appendTo(this.options.container).length || $tip.insertAfter(this.$element)
+ this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
pos = this.getPosition()