Skip to content

Commit f485280

Browse files
committed
Don't pass typeExtension argument to native createElement. It's unneeded and causes a problem in Chrome 28 where document.createElement('nav', undefined) results in undefined.
Helps address (Polymer/polymer#243)
1 parent 173bbf6 commit f485280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/CustomElements.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ if (useNative) {
310310
if (definition) {
311311
return new definition.ctor();
312312
}
313-
return domCreateElement(tag, typeExtension);
313+
return domCreateElement(tag);
314314
}
315315

316316
function upgradeElement(inElement) {

0 commit comments

Comments
 (0)