diff options
Diffstat (limited to 'ui/source/ui.resizable.js')
-rw-r--r-- | ui/source/ui.resizable.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/source/ui.resizable.js b/ui/source/ui.resizable.js index ba8c12ea8..29dccb33b 100644 --- a/ui/source/ui.resizable.js +++ b/ui/source/ui.resizable.js @@ -81,6 +81,9 @@ $.widget("ui.resizable", $.extend($.ui.mouse, { var oel = this.element; this.element = this.element.parent(); + // store instance on wrapper + this.element.data('resizable', this); + //Move margins to the wrapper this.element.css({ marginLeft: oel.css("marginLeft"), marginTop: oel.css("marginTop"), marginRight: oel.css("marginRight"), marginBottom: oel.css("marginBottom") |