Skip to content

Commit

Permalink
Check documentElement instead of body to guarantee it's there.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Feb 22, 2017
1 parent f2a12cb commit a0ad3bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/standard/configure.html
Original file line number Diff line number Diff line change
Expand Up @@ -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({

Expand Down

0 comments on commit a0ad3bb

Please sign in to comment.