]> source.dussan.org Git - jquery.git/commitdiff
Correct typo in support.js assigning margin-top with cssText. Fixes #10638.
authortimmywil <timmywillisn@gmail.com>
Wed, 2 Nov 2011 18:03:08 +0000 (14:03 -0400)
committertimmywil <timmywillisn@gmail.com>
Wed, 2 Nov 2011 18:05:26 +0000 (14:05 -0400)
src/support.js

index 4368094042789d621ee3d3d0f01266c00ad6d3f9..7f49516f875b1d324c1a933b8f0eb8e4d0e63df7 100644 (file)
@@ -273,7 +273,7 @@ jQuery.support = (function() {
                }
 
                container = document.createElement("div");
-               container.style.cssText = vb + "width:0;height:0;position:static;top:0;marginTop:" + conMarginTop + "px";
+               container.style.cssText = vb + "width:0;height:0;position:static;top:0;margin-top:" + conMarginTop + "px";
                body.insertBefore( container, body.firstChild );
 
                // Construct a test element