make the postion of popup dynamic #578

Closed
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
View
@@ -218,7 +218,7 @@ $.widget( "ui.popup", {
open: function( event ) {
var position = $.extend( {}, {
- of: this.options.trigger
+ of: $( event.target )
}, this.options.position );
this._show( this.element, this.options.show );