mirror of
https://github.com/jquery/jquery-ui.git
synced 2026-01-30 12:48:03 -05:00
Resizable: Flipped order of a conditional for performance benefit.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user