From a0ad3bbec1fe179313a4936418d1247ed34b2f41 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Wed, 22 Feb 2017 15:40:14 -0800 Subject: [PATCH] Check documentElement instead of body to guarantee it's there. --- src/standard/configure.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/standard/configure.html b/src/standard/configure.html index 91a1319ce1..404a21a60b 100644 --- a/src/standard/configure.html +++ b/src/standard/configure.html @@ -46,7 +46,7 @@ // When true, `this.properties` is bad juju due to obsolete `properties` // accessors on instances of HTMLElement var avoidInstanceProperties = - Boolean(Object.getOwnPropertyDescriptor(document.body, 'properties')); + Boolean(Object.getOwnPropertyDescriptor(document.documentElement, 'properties')); Polymer.Base._addFeature({