Commit d594d637 authored by Yohn's avatar Yohn

adding container option to tooltips

parent 48211ad9
...@@ -126,7 +126,8 @@ ...@@ -126,7 +126,8 @@
$tip $tip
.detach() .detach()
.css({ top: 0, left: 0, display: 'block' }) .css({ top: 0, left: 0, display: 'block' })
.insertAfter(this.$element)
this.options.container && $tip.appendTo(this.options.container).length || $tip.insertAfter(this.$element)
pos = this.getPosition() pos = this.getPosition()
...@@ -279,6 +280,7 @@ ...@@ -279,6 +280,7 @@
, title: '' , title: ''
, delay: 0 , delay: 0
, html: false , html: false
, container: ''
} }
......
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