From: Oleg Gaidarenko Date: Tue, 2 Sep 2014 20:20:23 +0000 (+0400) Subject: CSS: Correct typo in the comment X-Git-Tag: 3.0.0-alpha1~224 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7e09619cdf2813f2cd9da600ba682be8f91b08b6;p=jquery.git CSS: Correct typo in the comment --- diff --git a/src/css/defaultDisplay.js b/src/css/defaultDisplay.js index 2df1068bc..15d440d2f 100644 --- a/src/css/defaultDisplay.js +++ b/src/css/defaultDisplay.js @@ -7,7 +7,7 @@ var iframe, elemdisplay = { // Support: Firefox - // We have to pre-define this values for FF (#10227) + // We have to pre-define these values for FF (#10227) HTML: "block", BODY: "block" }; @@ -49,7 +49,7 @@ function defaultDisplay( nodeName ) { .appendTo( doc.documentElement ); // Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse - doc = iframe[ 0 ].contentDocument; + doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document; // Support: IE doc.write(); @@ -67,5 +67,4 @@ function defaultDisplay( nodeName ) { } return defaultDisplay; - });