Skip to content

Commit 62e9b84

Browse files
author
Steven Orvell
committed
Only keep disable-upgrade attribute if it is an attribute binding.
1 parent 5030c1b commit 62e9b84

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/lib/annotations/annotations.html‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@
370370
node.setAttribute(origName, '');
371371
}
372372
// Remove annotation
373-
if (disableUpgradeEnabled && name === 'disable-upgrade') {
373+
if (disableUpgradeEnabled && origName === 'disable-upgrade$') {
374374
node.setAttribute(name, '');
375375
}
376376
node.removeAttribute(origName);

0 commit comments

Comments
 (0)