1
0
mirror of https://github.com/kkapsner/CanvasBlocker synced 2024-12-22 12:50:36 +01:00

Fix group filtering in revertProperties

This commit is contained in:
kkapsner 2020-01-25 10:04:54 +01:00
parent 8bfaf63a99
commit 3d881d3c7d

View File

@ -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 {