aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-05-13 21:57:47 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-05-20 14:27:56 -0400
commitce949812b671d26f82e21f1856d73fde2f43f2dd (patch)
treee6eb8016977bccc01cc05d4120cba9e4b15c682a /ui
parentbe0a176b1f399e856654b2e71a1a9df28501a646 (diff)
downloadjquery-ui-ce949812b671d26f82e21f1856d73fde2f43f2dd.tar.gz
jquery-ui-ce949812b671d26f82e21f1856d73fde2f43f2dd.zip
Draggable: Remove core event/alias and deprecated module dependencies
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);