Skip to content

Commit

Permalink
⚗️ Check if removedNode contains lastFilteredNode
Browse files Browse the repository at this point in the history
Needed for PeacockTV, but shouldn't cause any issues elsewhere.
  • Loading branch information
richardfrost committed Aug 8, 2020
1 parent ee4a242 commit 17ff0fd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/script/webFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export default class WebFilter extends Filter {
if (
supported !== false
|| node == filter.audio.lastFilteredNode
|| node.contains(filter.audio.lastFilteredNode)
|| (
rule.simpleUnmute
&& filter.audio.lastFilteredText
Expand Down

0 comments on commit 17ff0fd

Please sign in to comment.