Skip to content

Commit cacd1f1

Browse files
trueadmdummdidumm
andauthored
Update packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js
Co-authored-by: Simon H <[email protected]>
1 parent 9e56c1d commit cacd1f1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/svelte/src/compiler/phases/3-transform/client/visitors/RegularElement.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -531,6 +531,7 @@ function build_element_attribute_update_assignment(element, node_id, attribute,
531531
return false;
532532
}
533533

534+
// Special case for Firefox who needs it set as a property in order to work
534535
if (name === 'muted') {
535536
state.init.push(b.stmt(b.assignment('=', b.member(node_id, b.id('muted')), value)));
536537
return false;

0 commit comments

Comments
 (0)