From: Jörn Zaefferer Date: Thu, 6 Aug 2009 18:10:10 +0000 (+0000) Subject: draggable: inline comment to clarify some odd check X-Git-Tag: 1.8a1~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f3444e81f5a09baa4ae5f1dcefb6d466af6318b9;p=jquery-ui.git draggable: inline comment to clarify some odd check --- diff --git a/ui/ui.draggable.js b/ui/ui.draggable.js index fabf8e439..ffda4a3f4 100644 --- a/ui/ui.draggable.js +++ b/ui/ui.draggable.js @@ -43,6 +43,7 @@ $.widget("ui.draggable", $.extend({}, $.ui.mouse, { var o = this.options; + // among others, prevent a drag on a resizable-handle if (this.helper || o.disabled || $(event.target).is('.ui-resizable-handle')) return false;