From 8ec7a1b69ffd86edbef06e30ca4368600531e649 Mon Sep 17 00:00:00 2001 From: Scott González Date: Fri, 14 Dec 2012 11:13:46 -0500 Subject: All: Use .addBack() instead of .andSelf(). --- ui/jquery.ui.sortable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui/jquery.ui.sortable.js') diff --git a/ui/jquery.ui.sortable.js b/ui/jquery.ui.sortable.js index e142a0ede..08de5b22a 100644 --- a/ui/jquery.ui.sortable.js +++ b/ui/jquery.ui.sortable.js @@ -126,7 +126,7 @@ $.widget("ui.sortable", $.ui.mouse, { return false; } if(this.options.handle && !overrideHandle) { - $(this.options.handle, currentItem).find("*").andSelf().each(function() { + $(this.options.handle, currentItem).find("*").addBack().each(function() { if(this === event.target) { validHandle = true; } -- cgit v1.2.3