resizable: make global _store variable local

This commit is contained in:
Jörn Zaefferer 2009-09-15 08:21:20 +00:00
parent e6efe11ac4
commit 1252150c76

View File

@ -531,7 +531,7 @@ $.ui.plugin.add("resizable", "alsoResize", {
var self = $(this).data("resizable"), o = self.options; var self = $(this).data("resizable"), o = self.options;
_store = function(exp) { var _store = function(exp) {
$(exp).each(function() { $(exp).each(function() {
$(this).data("resizable-alsoresize", { $(this).data("resizable-alsoresize", {
width: parseInt($(this).width(), 10), height: parseInt($(this).height(), 10), width: parseInt($(this).width(), 10), height: parseInt($(this).height(), 10),