Skip to content

Commit

Permalink
Only keep disable-upgrade attribute if it is an attribute binding.
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Orvell committed Feb 6, 2017
1 parent 5030c1b commit 62e9b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/annotations/annotations.html
Expand Up @@ -370,7 +370,7 @@
node.setAttribute(origName, '');
}
// Remove annotation
if (disableUpgradeEnabled && name === 'disable-upgrade') {
if (disableUpgradeEnabled && origName === 'disable-upgrade$') {
node.setAttribute(name, '');
}
node.removeAttribute(origName);
Expand Down

0 comments on commit 62e9b84

Please sign in to comment.