Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

on open, make position of popup dynamic based on event target

  • Loading branch information...
commit aac006babce5847e9ab987abff4d3fb54a88af66 1 parent 62df90f
@clarkbox clarkbox authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  ui/jquery.ui.popup.js
View
2  ui/jquery.ui.popup.js
@@ -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 );
Please sign in to comment.
Something went wrong with that request. Please try again.