From: TJ VanToll Date: Fri, 15 Aug 2014 15:09:19 +0000 (-0400) Subject: Draggable: Only blur the focused element if the event occurs on a handle X-Git-Tag: 1.11.2~47 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=075421d6d965c66055e47cde477f0ce2e23f1755;p=jquery-ui.git Draggable: Only blur the focused element if the event occurs on a handle Fixes #10527 --- diff --git a/ui/draggable.js b/ui/draggable.js index 3e427babe..3cae40f11 100644 --- a/ui/draggable.js +++ b/ui/draggable.js @@ -94,20 +94,9 @@ $.widget("ui.draggable", $.ui.mouse, { }, _mouseCapture: function(event) { + var o = this.options; - var document = this.document[ 0 ], - o = this.options; - - // support: IE9 - // IE9 throws an "Unspecified error" accessing document.activeElement from an