diff options
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r-- | ui/ui.resizable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js index 1ee75b41f..60d966cc9 100644 --- a/ui/ui.resizable.js +++ b/ui/ui.resizable.js @@ -362,7 +362,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, { var el = this.helper, o = this.options, pRatio = this._aspectRatio || event.shiftKey, a = this.axis, ismaxw = isNumber(data.width) && o.maxWidth && (o.maxWidth < data.width), ismaxh = isNumber(data.height) && o.maxHeight && (o.maxHeight < data.height), - isminw = !isNaN(parseInt(data.width, 10)) && o.minWidth && (o.minWidth > data.width), isminh = isNumber(data.height) && o.minHeight && (o.minHeight > data.height); + isminw = isNumber(data.width) && o.minWidth && (o.minWidth > data.width), isminh = isNumber(data.height) && o.minHeight && (o.minHeight > data.height); if (isminw) data.width = o.minWidth; if (isminh) data.height = o.minHeight; |