From 28eb945945b84eea34e73fe80bd2f40a4e290eef Mon Sep 17 00:00:00 2001 From: Simon H <5968653+dummdidumm@users.noreply.github.com> Date: Tue, 21 Feb 2023 15:50:56 +0100 Subject: [PATCH] Update src/compiler/compile/nodes/Element.ts --- src/compiler/compile/nodes/Element.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler/compile/nodes/Element.ts b/src/compiler/compile/nodes/Element.ts index d6559008fc..d65c78a7aa 100644 --- a/src/compiler/compile/nodes/Element.ts +++ b/src/compiler/compile/nodes/Element.ts @@ -713,7 +713,7 @@ export default class Element extends Node { const aria_hidden_attribute = attribute_map.get('aria-hidden'); const aria_hidden_exist = aria_hidden_attribute && aria_hidden_attribute.get_static_value(); - if (attribute_map.has('muted') || aria_hidden_exist === 'true') + if (attribute_map.has('muted') || aria_hidden_exist === 'true') { return; }