CSS: simplify "defaultDisplay" module

Ref 90d7cc1d8b
Ref gh-1961
This commit is contained in:
Oleg Gaidarenko
2014-12-21 23:03:38 +03:00
parent 7230df15ac
commit d9d8906cfd

View File

@@ -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 ].contentWindow || iframe[ 0 ].contentDocument ).document;
doc = iframe[ 0 ].contentDocument;
// Support: IE
doc.write();