]> source.dussan.org Git - jquery-ui.git/commitdiff
Resizable: Add missing var declaration to new _reset function/subroutine.
authorKevin Dalman <development@allpro.net>
Thu, 10 Jun 2010 00:03:26 +0000 (08:03 +0800)
committerScott González <scott.gonzalez@gmail.com>
Thu, 10 Jun 2010 01:33:01 +0000 (09:33 +0800)
ui/jquery.ui.resizable.js

index 2b3a87e85badcd6bebb2adb592e432d7aef2af8d..1f7215e2cacc62c6287c78cc3f34154332295bde 100644 (file)
@@ -589,7 +589,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
        stop: function (event, ui) {
                var self = $(this).data("resizable");
 
-               _reset = function (exp) {
+               var _reset = function (exp) {
                        $(exp).each(function() {
                                var el = $(this);
                                // reset position for Opera - no need to verify it was changed