From c76f3194a1731406272ec12aaa35002f20dfd9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Scott=20Gonz=C3=A1lez?= Date: Fri, 30 May 2008 15:34:21 +0000 Subject: [PATCH] Resizable: Flipped order of a conditional for performance benefit. --- ui/source/ui.resizable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();