aboutsummaryrefslogtreecommitdiffstats
path: root/ui/resizable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/resizable.js')
-rw-r--r--ui/resizable.js2
1 files changed, 1 insertions, 1 deletions
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;
}