aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/draggable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/draggable.js b/ui/draggable.js
index d938be1e8..a3cd5ba7d 100644
--- a/ui/draggable.js
+++ b/ui/draggable.js
@@ -309,7 +309,7 @@ $.widget("ui.draggable", $.ui.mouse, {
// Only need to focus if the event occurred on the draggable itself, see #10527
if ( this.handleElement.is( event.target ) ) {
// The interaction is over; whether or not the click resulted in a drag, focus the element
- this.element.focus();
+ this.element.trigger( "focus" );
}
return $.ui.mouse.prototype._mouseUp.call(this, event);