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 and rupertlssmith committed Feb 24, 2023
1 parent 962f555 commit f5498d0
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 @@ -925,7 +925,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 f5498d0

Please sign in to comment.