We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e035cf0 commit 02ec2fdCopy full SHA for 02ec2fd
1 file changed
src/instance/attributes.js
@@ -11,7 +11,9 @@
11
copyInstanceAttributes: function () {
12
var a$ = this._instanceAttributes;
13
for (var k in a$) {
14
- this.setAttribute(k, a$[k]);
+ if (!this.hasAttribute(k)) {
15
+ this.setAttribute(k, a$[k]);
16
+ }
17
}
18
},
19
// for each attribute on this, deserialize value to property as needed
0 commit comments