mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Resizable: Fixed #4099 - Copy .data("resizable") to the wrapper element
This commit is contained in:
parent
e49aa9a3d7
commit
e1320a794c
@ -46,7 +46,10 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
|||||||
);
|
);
|
||||||
|
|
||||||
//Overwrite the original this.element
|
//Overwrite the original this.element
|
||||||
this.element = this.element.parent();
|
this.element = this.element.parent().data(
|
||||||
|
"resizable", this.element.data('resizable')
|
||||||
|
);
|
||||||
|
|
||||||
this.elementIsWrapper = true;
|
this.elementIsWrapper = true;
|
||||||
|
|
||||||
//Move margins to the wrapper
|
//Move margins to the wrapper
|
||||||
|
Loading…
Reference in New Issue
Block a user