From e867ae7b603f3882832143ff315c9ab3fd3b8f13 Mon Sep 17 00:00:00 2001 From: Yohn Date: Mon, 24 Dec 2012 18:07:41 -0500 Subject: [PATCH] removed the length check updated it to @fat's suggestion --- js/bootstrap-tooltip.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()