Skip to content

Commit

Permalink
tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
Conduitry committed Jun 23, 2020
1 parent 3d6baf5 commit 6cd98c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/compiler/compile/nodes/Element.ts
Original file line number Diff line number Diff line change
Expand Up @@ -708,8 +708,7 @@ export default class Element extends Node {
if (!a11y_required_content.has(this.name)) return;
if (
this.bindings
.map((binding) => binding.name)
.some((name) => ['textContent', 'innerHTML'].includes(name))
.some((binding) => ['textContent', 'innerHTML'].includes(binding.name))
) return;

if (this.children.length === 0) {
Expand Down

0 comments on commit 6cd98c1

Please sign in to comment.