0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

removed the length check

updated it to @fat's suggestion
This commit is contained in:
Yohn 2012-12-24 18:07:41 -05:00
parent f152dead92
commit e867ae7b60

View File

@ -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()