Skip to content

Commit

Permalink
Resizable: Flipped order of a conditional for performance benefit.
Browse files Browse the repository at this point in the history
  • Loading branch information
scottgonzalez committed May 30, 2008
1 parent feb96d8 commit c76f319
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/source/ui.resizable.js
Expand Up @@ -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();
Expand Down

0 comments on commit c76f319

Please sign in to comment.