Skip to content

Commit 86a10d6

Browse files
committed
Merge pull request #43 from acusti/patch-1
Reverse actions for modifyComment and modifiyTextElement
2 parents 6531b95 + 54bc959 commit 86a10d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

diffDOM.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -567,14 +567,14 @@
567567
// Comment or text node.
568568
if (t1.nodeName === '#text') {
569569
return [new Diff({
570-
action: 'modifyComment',
570+
action: 'modifyTextElement',
571571
route: route,
572572
oldValue: t1.data,
573573
newValue: t2.data
574574
})];
575575
} else {
576576
return [new Diff({
577-
action: 'modifyTextElement',
577+
action: 'modifyComment',
578578
route: route,
579579
oldValue: t1.data,
580580
newValue: t2.data

0 commit comments

Comments
 (0)