mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Sortable: Use an event object for simulated mouseup
in cancel()
Regression caused by a1d69208ba
Fixes #15042
Closes gh-1746
This commit is contained in:
parent
391d45ea6c
commit
19027bb085
@ -518,7 +518,7 @@ return $.widget( "ui.sortable", $.ui.mouse, {
|
||||
|
||||
if ( this.dragging ) {
|
||||
|
||||
this._mouseUp( { target: null } );
|
||||
this._mouseUp( new $.Event( "mouseup", { target: null } ) );
|
||||
|
||||
if ( this.options.helper === "original" ) {
|
||||
this.currentItem.css( this._storedCSS );
|
||||
|
Loading…
Reference in New Issue
Block a user