Commit 5dbd995f authored by Stephanus Volke's avatar Stephanus Volke

fix wrong parameter in html-custon-elements.js

parent c96ffe32
......@@ -66,7 +66,7 @@ export class HTMLCustomElement extends HTMLElement {
mutations.forEach((mut) => {
if (mut.attributeName in elem.Attr) {
for (let fun of elem.Attr[mut.attributeName]) {
fun(mut.oldValue, mut.target[mut.attributeName]);
fun(mut.target, mut.target[mut.attributeName]);
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment