this took me way too long

This commit is contained in:
IgnatzHome 2018-05-19 20:17:52 +02:00
parent cd749bc385
commit 1d58e40133

View file

@ -157,8 +157,8 @@ class AdvancedFilter {
case '==':
case '===':
{
const field = commands[i-1];
const str = commands[i+1];
const field = commands[i-1].cmd;
const str = commands[i+1].cmd;
commands[i] = {}[field]=str;
commands.splice(i-1, 1);
commands.splice(i, 1);