Skip to content

Commit

Permalink
Fix diffing for namespaced attributes (elm#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
anka-213 authored Sep 19, 2019
1 parent 5a5bcf4 commit 6c6263e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Elm/Kernel/VirtualDom.js
Original file line number Diff line number Diff line change
Expand Up @@ -910,7 +910,8 @@ function _VirtualDom_diffFacts(x, y, category)

// reference equal, so don't worry about it
if (xValue === yValue && xKey !== 'value' && xKey !== 'checked'
|| category === 'a__1_EVENT' && _VirtualDom_equalEvents(xValue, yValue))
|| category === 'a__1_EVENT' && _VirtualDom_equalEvents(xValue, yValue)
|| category === 'a__1_ATTR_NS' && xValue.__namespace === yValue.__namespace && xValue.__value === yValue.__value)
{
continue;
}
Expand Down

0 comments on commit 6c6263e

Please sign in to comment.