We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 15affe3 commit 623970dCopy full SHA for 623970d
src/client/updaters/tag.js
@@ -52,7 +52,7 @@ export default function updateTag(appId, { attribute, tagIDKeyName } = {}, type,
52
const _attr = includes(dataAttributes, attr)
53
? `data-${attr}`
54
: attr
55
- const value = isUndefined(tag[attr]) || booleanHtmlAttributes.includes(attr) ? '' : tag[attr]
+ const value = isUndefined(tag[attr]) || includes(booleanHtmlAttributes, attr) ? '' : tag[attr]
56
newElement.setAttribute(_attr, value)
57
}
58
0 commit comments