diff --git a/lib/extension.js b/lib/extension.js index 8618111..102c285 100644 --- a/lib/extension.js +++ b/lib/extension.js @@ -155,12 +155,12 @@ return; } if (group){ - const remainingProperties = changedProperties.filter(function({group}){ - return group !== group; + const remainingProperties = changedProperties.filter(function(changedProperty){ + return changedProperty.group !== group; }); changedPropertiesByWindow.set(window, remainingProperties); - changedProperties = changedProperties.filter(function({group}){ - return group === group; + changedProperties = changedProperties.filter(function(changedProperty){ + return changedProperty.group === group; }); } else {