aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.resizable.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.resizable.js')
-rw-r--r--ui/ui.resizable.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/ui.resizable.js b/ui/ui.resizable.js
index 17d7b493b..971808e98 100644
--- a/ui/ui.resizable.js
+++ b/ui/ui.resizable.js
@@ -46,7 +46,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
);
//Overwrite the original this.element
- this.element = this.element.parent();
+ this.element = this.element.parent().data(
+ "resizable", this.element.data('resizable')
+ );
+
this.elementIsWrapper = true;
//Move margins to the wrapper