diff --git a/px-view.html b/px-view.html index 63971d2..01305a8 100644 --- a/px-view.html +++ b/px-view.html @@ -45,7 +45,7 @@ type: Boolean, value: false }, - + /** * * Set to true to load this view asynchronously. @@ -236,7 +236,7 @@ that.set('status', 'loaded'); } else { var modulesLoaded = Polymer.dom(that._importLink.import).querySelectorAll('dom-module'); - if (modulesLoaded.some(function(ele) {return ele.id === that._elementTagName;})) { + if (Array.prototype.some.call(modulesLoaded, function(ele) {return ele.id === that._elementTagName;})) { that.set('status', 'loaded'); } else { console.log('Error: dom-module of imported element does not match element tag name');