]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
removed the length check
authorYohn <john.skem9@gmail.com>
Mon, 24 Dec 2012 23:07:41 +0000 (18:07 -0500)
committerYohn <john.skem9@gmail.com>
Mon, 24 Dec 2012 23:07:41 +0000 (18:07 -0500)
updated it to @fat's suggestion

js/bootstrap-tooltip.js

index 82fa96078956a5b88542cfb5fdf1d697aa1642bb..3ad8b67618756f7d6d4e6fa4d24d75bef44f8300 100644 (file)
           .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()