jQuery.support core style guide correction. Fixes #8978

1.7/enhancement_8685
Rick Waldron 2011-04-26 09:45:27 -04:00
parent fb65ba418a
commit 08f52d69bd
1 changed files with 1 additions and 1 deletions

View File

@ -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 );