Skip to content
Permalink
Browse files

Resizable: Flipped order of a conditional for performance benefit.

  • Loading branch information
scottgonzalez committed May 30, 2008
1 parent feb96d8 commit c76f3194a1731406272ec12aaa35002f20dfd9f4
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/source/ui.resizable.js
@@ -282,7 +282,7 @@
}

//Opera fixing relative position
if (/relative/.test(el.css('position')) && $.browser.opera)
if ($.browser.opera && /relative/.test(el.css('position')))
el.css({ position: 'relative', top: 'auto', left: 'auto' });

this._renderProxy();

0 comments on commit c76f319

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