Skip to content
Permalink
Browse files

Resizable - fixed #3074

  • Loading branch information
eduardolundgren committed Jul 8, 2008
1 parent f9e3474 commit a8c39c29e27f9df3e474d7e5937d29dd664414eb
Showing with 5 additions and 0 deletions.
  1. +5 −0 ui/ui.resizable.js
@@ -289,6 +289,11 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {

var curleft = num(this.helper.css('left')), curtop = num(this.helper.css('top'));

if (o.containment) {
curleft += $(o.containment).scrollLeft()||0;
curtop += $(o.containment).scrollTop()||0;
}

//Store needed variables
this.offset = this.helper.offset();
this.position = { left: curleft, top: curtop };

0 comments on commit a8c39c2

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