Skip to content

Commit

Permalink
Don't pass typeExtension argument to native createElement. It's unnee…
Browse files Browse the repository at this point in the history
…ded and causes a problem in Chrome 28 where document.createElement('nav', undefined) results in undefined.

Helps address (Polymer/polymer#243)
  • Loading branch information
sorvell committed Aug 16, 2013
1 parent 173bbf6 commit f485280
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CustomElements.js
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ if (useNative) {
if (definition) {
return new definition.ctor();
}
return domCreateElement(tag, typeExtension);
return domCreateElement(tag);
}

function upgradeElement(inElement) {
Expand Down

0 comments on commit f485280

Please sign in to comment.