aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/widgets/sortable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/sortable.js b/ui/widgets/sortable.js
index 2a9ce22ca..8d2ada59a 100644
--- a/ui/widgets/sortable.js
+++ b/ui/widgets/sortable.js
@@ -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 );