aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
Diffstat (limited to 'ui')
-rw-r--r--ui/widgets/resizable.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/widgets/resizable.js b/ui/widgets/resizable.js
index 88ad41180..e516c547f 100644
--- a/ui/widgets/resizable.js
+++ b/ui/widgets/resizable.js
@@ -582,7 +582,7 @@ $.widget( "ui.resizable", $.ui.mouse, {
isminw = this._isNumber( data.width ) && o.minWidth && ( o.minWidth > data.width ),
isminh = this._isNumber( data.height ) && o.minHeight && ( o.minHeight > data.height ),
dw = this.originalPosition.left + this.originalSize.width,
- dh = this.position.top + this.size.height,
+ dh = this.originalPosition.top + this.originalSize.height,
cw = /sw|nw|w/.test( a ), ch = /nw|ne|n/.test( a );
if ( isminw ) {
data.width = o.minWidth;