diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-05-30 15:34:21 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-05-30 15:34:21 +0000 |
commit | c76f3194a1731406272ec12aaa35002f20dfd9f4 (patch) | |
tree | 0a2f3b1e6933fd90e0cb11f293c662a48784e8b4 /ui/source | |
parent | feb96d88fcd916bc0b60f79a815ba96ef72294ff (diff) | |
download | jquery-ui-c76f3194a1731406272ec12aaa35002f20dfd9f4.tar.gz jquery-ui-c76f3194a1731406272ec12aaa35002f20dfd9f4.zip |
Resizable: Flipped order of a conditional for performance benefit.
Diffstat (limited to 'ui/source')
-rw-r--r-- | ui/source/ui.resizable.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/source/ui.resizable.js b/ui/source/ui.resizable.js index 6e8907ec1..b28ad8095 100644 --- a/ui/source/ui.resizable.js +++ b/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();
|