Commit e867ae7b authored by Yohn's avatar Yohn

removed the length check

updated it to @fat's suggestion
parent f152dead
......@@ -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()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment