From 98795e3d9166ebfc3a6bdd6b5847f67babf6c1ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Sun, 15 Jan 2012 11:52:01 -0500 Subject: [PATCH] Droppable: Use internal guid instead of jQuery.guid. --- ui/jquery.ui.droppable.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ui/jquery.ui.droppable.js b/ui/jquery.ui.droppable.js index 30ff87246..47cc0c9de 100644 --- a/ui/jquery.ui.droppable.js +++ b/ui/jquery.ui.droppable.js @@ -14,7 +14,8 @@ */ (function( $, undefined ) { -var droppables = {}; +var guid = 0, + droppables = {}; (function() { var orig = $.ui.draggable.prototype._trigger; @@ -43,7 +44,7 @@ $.widget( "ui.droppable", { _create: function() { this.refreshPosition(); - this.guid = $.guid++; + this.guid = guid++; droppables[ this.guid ] = this; },