Skip to content

Commit

Permalink
WICGGH-126: fix bug where condition is inversed
Browse files Browse the repository at this point in the history
  • Loading branch information
babielmam committed Oct 4, 2019
1 parent b0623d9 commit a13fe96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/inert.js
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ class InertManager {
}, _this);
break;
case 'attributes':
if (InertManager.isValidMutationRecord(record)) {
if (!InertManager.isValidMutationRecord(record)) {
return;
}
const target = /** @type {!Element} */ (record.target);
Expand Down

0 comments on commit a13fe96

Please # to comment.