diff options
author | Oleg Gaidarenko <markelog@gmail.com> | 2014-12-21 23:21:27 +0300 |
---|---|---|
committer | Oleg Gaidarenko <markelog@gmail.com> | 2014-12-24 02:25:04 +0300 |
commit | c62486fb4cb18fdb7dc5807231c964ed82ee6482 (patch) | |
tree | 4ef7181fcd53c7645b15d7651501800c95eac80f | |
parent | 359b03cac74d7336676a6992f14b7ccab9b28659 (diff) | |
download | jquery-c62486fb4cb18fdb7dc5807231c964ed82ee6482.tar.gz jquery-c62486fb4cb18fdb7dc5807231c964ed82ee6482.zip |
CSS: simplify "defaultDisplay" module
Closes gh-1962
-rw-r--r-- | src/css/defaultDisplay.js | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |