Skip to content

Commit c62486f

Browse files
committed
CSS: simplify "defaultDisplay" module
Closes gh-1962
1 parent 359b03c commit c62486f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/css/defaultDisplay.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function defaultDisplay( nodeName ) {
4949
.appendTo( doc.documentElement );
5050

5151
// Always write a new HTML skeleton so Webkit and Firefox don't choke on reuse
52-
doc = ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document;
52+
doc = iframe[ 0 ].contentDocument;
5353

5454
// Support: IE
5555
doc.write();

0 commit comments

Comments
 (0)