From: Oleg Gaidarenko Date: Sun, 21 Dec 2014 20:03:38 +0000 (+0300) Subject: CSS: simplify "defaultDisplay" module X-Git-Tag: 3.0.0-alpha1+compat~164 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d9d8906cfdd05a6163b0a6791f7ab4433951eacd;p=jquery.git CSS: simplify "defaultDisplay" module Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-1961 --- 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();