Skip to content

Commit

Permalink
jQuery.support core style guide correction. Fixes #8978
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Apr 26, 2011
1 parent fb65ba4 commit 08f52d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/support.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
Expand Down

0 comments on commit 08f52d6

Please sign in to comment.