git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ee81d4d
)
Bug #8635 Firefox uncaught exception
author
rwldrn
<waldron.rick@gmail.com>
Mon, 28 Mar 2011 16:10:16 +0000
(12:10 -0400)
committer
rwldrn
<waldron.rick@gmail.com>
Mon, 28 Mar 2011 16:31:03 +0000
(12:31 -0400)
src/support.js
patch
|
blob
|
history
diff --git
a/src/support.js
b/src/support.js
index
939ad4f
..
095866b
100644
(file)
--- a/
src/support.js
+++ b/
src/support.js
@@
-197,7
+197,7
@@
if ( document.defaultView && document.defaultView.getComputedStyle ) {
div.style.width = "1px";
div.style.marginRight = "0";
if ( document.defaultView && document.defaultView.getComputedStyle ) {
div.style.width = "1px";
div.style.marginRight = "0";
- jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div).marginRight, 10) || 0 ) === 0;
+ jQuery.support.reliableMarginRight = ( parseInt(document.defaultView.getComputedStyle(div, null).marginRight, 10) || 0 ) === 0;
}
body.removeChild( div ).style.display = "none";
}
body.removeChild( div ).style.display = "none";