diff options
author | Felix Nagel <info@felixnagel.com> | 2013-10-21 20:33:49 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-10-21 20:33:49 +0200 |
commit | fab6b8883e9464d101e2550dd2c12706a9de164d (patch) | |
tree | 5b19fadfa678d5709dfb9451b7635f00f038369f /ui/jquery.ui.resizable.js | |
parent | 7af3dab075b71b4a4b542e3e3201229399a56959 (diff) | |
parent | fdc7052fdb7fdac34e79203a0cea2376fa588994 (diff) | |
download | jquery-ui-fab6b8883e9464d101e2550dd2c12706a9de164d.tar.gz jquery-ui-fab6b8883e9464d101e2550dd2c12706a9de164d.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r-- | ui/jquery.ui.resizable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index aab93b57f..f683e6b65 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -316,7 +316,7 @@ $.widget("ui.resizable", $.ui.mouse, { //Store needed variables this.offset = this.helper.offset(); this.position = { left: curleft, top: curtop }; - this.size = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; + this.size = this._helper ? { width: this.helper.width(), height: this.helper.height() } : { width: el.width(), height: el.height() }; this.originalSize = this._helper ? { width: el.outerWidth(), height: el.outerHeight() } : { width: el.width(), height: el.height() }; this.originalPosition = { left: curleft, top: curtop }; this.sizeDiff = { width: el.outerWidth() - el.width(), height: el.outerHeight() - el.height() }; |