Skip to content

Commit 1495e44

Browse files
committed
check for aNode.type
1 parent 2e5ac37 commit 1495e44

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

diffDOM.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@
717717
}
718718
}
719719
if (this.valueDiffing) {
720-
if (aNode.checked !== undefined &&
720+
if (aNode.checked !== undefined && aNode.type &&
721721
['radio','checkbox'].indexOf(aNode.type.toLowerCase()) !== -1
722722
) {
723723
objNode.checked = aNode.checked;

0 commit comments

Comments
 (0)