CSS: Correct typo in the comment

This commit is contained in:
Oleg Gaidarenko 2014-09-03 00:20:23 +04:00
parent a7724186c9
commit 7e09619cdf

View File

@ -7,7 +7,7 @@ var iframe,
elemdisplay = { elemdisplay = {
// Support: Firefox // Support: Firefox
// We have to pre-define this values for FF (#10227) // We have to pre-define these values for FF (#10227)
HTML: "block", HTML: "block",
BODY: "block" BODY: "block"
}; };
@ -49,7 +49,7 @@ function defaultDisplay( nodeName ) {
.appendTo( doc.documentElement ); .appendTo( doc.documentElement );
// Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse // 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 // Support: IE
doc.write(); doc.write();
@ -67,5 +67,4 @@ function defaultDisplay( nodeName ) {
} }
return defaultDisplay; return defaultDisplay;
}); });