Permalink
Browse files

Merged pull request #348 from rwldrn/8978.

jQuery.support core style guide correction. Fixes #8978
  • Loading branch information...
2 parents fb65ba4 + 08f52d6 commit 742e15c638bc3872a43d4696f24c1fe8b1f2d99a @jaubourg jaubourg committed Apr 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/support.js
View
@@ -198,7 +198,7 @@ jQuery.support = (function() {
// Fails in WebKit before Feb 2011 nightlies
// WebKit Bug 13343 - getComputedStyle returns wrong value for margin-right
if ( document.defaultView && document.defaultView.getComputedStyle ) {
- marginDiv = document.createElement('div');
+ marginDiv = document.createElement( "div" );
marginDiv.style.width = "0";
marginDiv.style.marginRight = "0";
div.appendChild( marginDiv );

0 comments on commit 742e15c

Please sign in to comment.