Skip to content

Commit

Permalink
Be more explicit.
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Jul 15, 2015
1 parent f966381 commit a6bd5a5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/standard/utils.html
Expand Up @@ -116,8 +116,8 @@
* @return {Array<Node>} List of distributed nodes for the `<content>`.
*/
getContentChildNodes: function(slctr) {
return Polymer.dom(Polymer.dom(this.root).querySelector(
slctr || 'content')).getDistributedNodes();
var content = Polymer.dom(this.root).querySelector(slctr || 'content');
return content ? Polymer.dom(content).getDistributedNodes() : [];
},

/**
Expand Down

0 comments on commit a6bd5a5

Please sign in to comment.