mirror of
https://github.com/jquery/jquery-ui.git
synced 2024-11-21 11:04:24 +00:00
Resizable: Flipped order of a conditional for performance benefit.
This commit is contained in:
parent
feb96d88fc
commit
c76f3194a1
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user