Skip to content
Permalink
Browse files

Resizable: Fixed #4098 - Remove transparent option

  • Loading branch information
eduardolundgren committed Feb 9, 2009
1 parent 0413807 commit 78e8a1b7890a0c650e4b6d339d91aa20d10260c0
Showing with 1 addition and 6 deletions.
  1. +1 −6 ui/ui.resizable.js
@@ -103,9 +103,6 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
if(this.handles[i].constructor == String)
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)
if (this.elementIsWrapper && this.originalElement[0].nodeName.match(/textarea|input|select|button/i)) {

@@ -120,8 +117,7 @@ $.widget("ui.resizable", $.extend({}, $.ui.mouse, {
/se|sw|s/.test(i) ? 'Bottom' :
/^e$/.test(i) ? 'Right' : 'Left' ].join("");

if (!o.transparent)
target.css(padPos, padWrapper);
target.css(padPos, padWrapper);

this._proportionallyResize();

@@ -521,7 +517,6 @@ $.extend($.ui.resizable, {
preserveCursor: true,
preventDefault: true,
proportionallyResize: false,
transparent: false,
zIndex: 1000
}
});

0 comments on commit 78e8a1b

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