diff --git a/src/css/defaultDisplay.js b/src/css/defaultDisplay.js index 15d440d2f..a6f60d17e 100644 --- a/src/css/defaultDisplay.js +++ b/src/css/defaultDisplay.js @@ -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();