mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Resizable: Fixed #4098 - Remove transparent option
This commit is contained in:
parent
0413807dfb
commit
78e8a1b789
@ -103,9 +103,6 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
|||||||
if(this.handles[i].constructor == String)
|
if(this.handles[i].constructor == String)
|
||||||
this.handles[i] = $(this.handles[i], this.element).show();
|
this.handles[i] = $(this.handles[i], this.element).show();
|
||||||
|
|
||||||
if (o.transparent)
|
|
||||||
this.handles[i].css({ opacity: 0 });
|
|
||||||
|
|
||||||
//Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)
|
//Apply pad to wrapper element, needed to fix axis position (textarea, inputs, scrolls)
|
||||||
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {
|
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {
|
||||||
|
|
||||||
@ -120,7 +117,6 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
|
|||||||
/se|sw|s/.test(i) ? 'Bottom' :
|
/se|sw|s/.test(i) ? 'Bottom' :
|
||||||
/^e$/.test(i) ? 'Right' : 'Left' ].join("");
|
/^e$/.test(i) ? 'Right' : 'Left' ].join("");
|
||||||
|
|
||||||
if (!o.transparent)
|
|
||||||
target.css(padPos, padWrapper);
|
target.css(padPos, padWrapper);
|
||||||
|
|
||||||
this._proportionallyResize();
|
this._proportionallyResize();
|
||||||
@ -521,7 +517,6 @@ $.extend($.ui.resizable, {
|
|||||||
preserveCursor: true,
|
preserveCursor: true,
|
||||||
preventDefault: true,
|
preventDefault: true,
|
||||||
proportionallyResize: false,
|
proportionallyResize: false,
|
||||||
transparent: false,
|
|
||||||
zIndex: 1000
|
zIndex: 1000
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user