mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
script: Fix the logic for mutation observer attributes.
This commit is contained in:
parent
073629076f
commit
39e647de06
2 changed files with 2 additions and 13 deletions
|
@ -132,8 +132,8 @@ impl MutationObserver {
|
|||
if *namespace != ns!() {
|
||||
continue;
|
||||
}
|
||||
if registered.options.attribute_filter.iter()
|
||||
.find(|s| &**s == &**name).is_some() {
|
||||
if !registered.options.attribute_filter.iter()
|
||||
.any(|s| &**s == &**name) {
|
||||
continue;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue