From: Yohn Date: Mon, 24 Dec 2012 23:07:41 +0000 (-0500) Subject: removed the length check X-Git-Tag: v2.3.0^2~63^2^2~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e867ae7b603f3882832143ff315c9ab3fd3b8f13;p=thirdparty%2Fbootstrap.git removed the length check updated it to @fat's suggestion --- diff --git a/js/bootstrap-tooltip.js b/js/bootstrap-tooltip.js index 82fa960789..3ad8b67618 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()