]> source.dussan.org Git - jquery-ui.git/commitdiff
draggable: inline comment to clarify some odd check
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 6 Aug 2009 18:10:10 +0000 (18:10 +0000)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Thu, 6 Aug 2009 18:10:10 +0000 (18:10 +0000)
ui/ui.draggable.js

index fabf8e439fd0b7e9fc8cdfe40fefd08cfa7c0daa..ffda4a3f461228da183351fec89f079ce6ba8a28 100644 (file)
@@ -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;