Resizable: Flipped order of a conditional for performance benefit.

This commit is contained in:
Scott González 2008-05-30 15:34:21 +00:00
parent feb96d88fc
commit c76f3194a1

View File

@ -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();