aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
authorRichard Worth <rdworth@gmail.com>2009-03-02 10:39:16 +0000
committerRichard Worth <rdworth@gmail.com>2009-03-02 10:39:16 +0000
commit8fecd015cff46323cd7a45b98322b86baf6a9562 (patch)
tree003569470b98bceae86264aedcc8481a5550c1ca /ui/ui.resizable.js
parentf277564bdc82263a1b35559769abacd79a8f0e9c (diff)
downloadjquery-ui-8fecd015cff46323cd7a45b98322b86baf6a9562.tar.gz
jquery-ui-8fecd015cff46323cd7a45b98322b86baf6a9562.zip
Fixed #3053 - when resizing a image a row of pixels can disappear
props raziel057
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index ec56276d7..da33218d3 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -311,6 +311,9 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
if (!o.animate)
this.element.css($.extend(s, { top: top, left: left }));
+ self.helper.height(self.size.height);
+ self.helper.width(self.size.width);
+
if (this._helper && !o.animate) this._proportionallyResize();
}