diff --git a/src/generators/dom/visitors/Element/Binding.ts b/src/generators/dom/visitors/Element/Binding.ts index 549cb05ecb17..edc3767c0e77 100644 --- a/src/generators/dom/visitors/Element/Binding.ts +++ b/src/generators/dom/visitors/Element/Binding.ts @@ -266,7 +266,7 @@ function getBindingValue( return `@toNumber(${state.parentNode}.${attribute.name})`; } - if (isMediaElement && attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played') { + if (isMediaElement && (attribute.name === 'buffered' || attribute.name === 'seekable' || attribute.name === 'played')) { return `@timeRangesToArray(${state.parentNode}.${attribute.name})` }