From 9493839f23b6ff71aacb9cb8fe8fde6c8d0ecd61 Mon Sep 17 00:00:00 2001 From: Mike Sherov Date: Tue, 27 Jan 2015 22:08:05 -0500 Subject: Resizable: correct width when grid approaches zero Fixes #10590 --- ui/resizable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ui') diff --git a/ui/resizable.js b/ui/resizable.js index d1f7f50f6..c167508b3 100644 --- a/ui/resizable.js +++ b/ui/resizable.js @@ -1170,7 +1170,7 @@ $.ui.plugin.add("resizable", "grid", { that.size.width = newWidth; that.position.left = op.left - ox; } else { - newWidth = gridY - outerDimensions.height; + newWidth = gridX - outerDimensions.width; that.size.width = newWidth; that.position.left = op.left + os.width - newWidth; } -- cgit v1.2.3