mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
CSS: simplify "defaultDisplay" module
Closes gh-1962
This commit is contained in:
parent
359b03cac7
commit
c62486fb4c
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user