Skip to content

Commit

Permalink
Only fix prototype when registering at first create time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Mar 22, 2016
1 parent 4834651 commit 7ad2bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
proto._doBehavior('registered');
// where prototypes are simulated (IE10), element instance
// must be specfically fixed up.
if (settings.usePolyfillProto) {
if (settings.usePolyfillProto && proto !== this) {
proto.extend(this, proto);
}
}
Expand Down

0 comments on commit 7ad2bff

Please sign in to comment.