CSS: simplify "defaultDisplay" module

Closes gh-1962
This commit is contained in:
Oleg Gaidarenko 2014-12-21 23:21:27 +03:00
parent 359b03cac7
commit c62486fb4c

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();