mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-14 15:00:01 -04:00
oops
This commit is contained in:
parent
7d15d8477e
commit
2e84592431
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ function traverseParsedHtml(
|
|||
}
|
||||
for (const [attr, value] of Object.entries(node.attribs)) {
|
||||
if (eventAttributes.includes(attr)) {
|
||||
node.attribs[`scramjet-data-${attr}`] = attr;
|
||||
node.attribs[`scramjet-data-${attr}`] = value;
|
||||
node.attribs[attr] = rewriteJs(
|
||||
value as string,
|
||||
`(inline ${attr} on element)`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue