]> source.dussan.org Git - jquery.git/commitdiff
jQuery.support core style guide correction. Fixes #8978 348/head
authorRick Waldron <waldron.rick@gmail.com>
Tue, 26 Apr 2011 13:45:27 +0000 (09:45 -0400)
committerRick Waldron <waldron.rick@gmail.com>
Tue, 26 Apr 2011 13:45:27 +0000 (09:45 -0400)
src/support.js

index 178bddf0598c15c6471327e22e496942643ed615..ea14bac63650b3327d91900cbfb3994046dfa8a5 100644 (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 );