Skip to content

Commit 623970d

Browse files
committed
fix: use simple polyfilled includes method
1 parent 15affe3 commit 623970d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/updaters/tag.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ export default function updateTag(appId, { attribute, tagIDKeyName } = {}, type,
5252
const _attr = includes(dataAttributes, attr)
5353
? `data-${attr}`
5454
: attr
55-
const value = isUndefined(tag[attr]) || booleanHtmlAttributes.includes(attr) ? '' : tag[attr]
55+
const value = isUndefined(tag[attr]) || includes(booleanHtmlAttributes, attr) ? '' : tag[attr]
5656
newElement.setAttribute(_attr, value)
5757
}
5858
}

0 commit comments

Comments
 (0)