diff options
author | Felix Nagel <info@felixnagel.com> | 2013-05-30 21:28:15 +0200 |
---|---|---|
committer | Felix Nagel <info@felixnagel.com> | 2013-05-30 21:28:15 +0200 |
commit | 57fa48281c0e04c4696e9ad8c2d24397b55391de (patch) | |
tree | 4f140670b60f227cefc1a191631c1b3cfcb48fea /ui/jquery.ui.resizable.js | |
parent | bfd3c4aace6810672f4ae56ae783faf5bfbca17f (diff) | |
parent | 699756942f5c8201a529295fde0e7f358ba48317 (diff) | |
download | jquery-ui-57fa48281c0e04c4696e9ad8c2d24397b55391de.tar.gz jquery-ui-57fa48281c0e04c4696e9ad8c2d24397b55391de.zip |
Merge branch 'master' into selectmenu
Diffstat (limited to 'ui/jquery.ui.resizable.js')
-rw-r--r-- | ui/jquery.ui.resizable.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/jquery.ui.resizable.js b/ui/jquery.ui.resizable.js index c84323e8a..aab93b57f 100644 --- a/ui/jquery.ui.resizable.js +++ b/ui/jquery.ui.resizable.js @@ -797,8 +797,8 @@ $.ui.plugin.add("resizable", "containment", { isParent = that.containerElement.get(0) === that.element.parent().get(0); isOffsetRelative = /relative|absolute/.test(that.containerElement.css("position")); - if(isParent && isOffsetRelative) { - woset -= that.parentData.left; + if ( isParent && isOffsetRelative ) { + woset -= Math.abs( that.parentData.left ); } if (woset + that.size.width >= that.parentData.width) { |