From d9d8906cfdd05a6163b0a6791f7ab4433951eacd Mon Sep 17 00:00:00 2001 From: Oleg Gaidarenko Date: Sun, 21 Dec 2014 23:03:38 +0300 Subject: [PATCH] CSS: simplify "defaultDisplay" module Ref 90d7cc1d8b2ea7ac75f0eacb42439349c9c73278 Ref gh-1961 --- src/css/defaultDisplay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5