Skip to content
Permalink
Browse files

Fixed #3733

  • Loading branch information
eduardolundgren committed Jan 21, 2009
1 parent a034903 commit debb342662dd669224e56e358e87fc37605b9d70
Showing with 1 addition and 2 deletions.
  1. +1 −2 ui/ui.resizable.js
@@ -722,8 +722,7 @@ $.ui.plugin.add("resizable", "containment", {
ps = self.containerSize, co = self.containerOffset, cs = self.size, cp = self.position,
pRatio = o._aspectRatio || event.shiftKey, cop = { top:0, left:0 }, ce = self.containerElement;

if (ce[0] != document && (/static/).test(ce.css('position')))
cop = self.containerPosition;
if (ce[0] != document && (/static/).test(ce.css('position'))) cop = co;

if (cp.left < (o.helper ? co.left : 0)) {
self.size.width = self.size.width + (o.helper ? (self.position.left - co.left) : (self.position.left - cop.left));

0 comments on commit debb342

Please sign in to comment.
You can’t perform that action at this time.