applied vgodard patch for jquery rounded corner w/ MSIE >= 8 stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Thu, 04 Mar 2010 10:16:48 +0100
branchstable
changeset 4788 de92a073faa8
parent 4786 df2a12bfbab6
child 4789 c93770e4aaf4
applied vgodard patch for jquery rounded corner w/ MSIE >= 8
web/data/jquery.corner.js
--- a/web/data/jquery.corner.js	Thu Mar 04 09:43:16 2010 +0100
+++ b/web/data/jquery.corner.js	Thu Mar 04 10:16:48 2010 +0100
@@ -140,7 +140,7 @@
                         this.style.position = 'relative';
                     ds.position = 'absolute';
                     ds.bottom = ds.left = ds.padding = ds.margin = '0';
-                    if ($.browser.msie)
+                    if (($.browser.msie) && ($.browser.version < 8.0))
                         ds.setExpression('width', 'this.parentNode.offsetWidth');
                     else
                         ds.width = '100%';