fix -favgroup: for tag scripts, add -fav:

This commit is contained in:
Toks
2015-06-30 09:47:20 -04:00
parent 1d9596d7f2
commit bb879cc4fd
2 changed files with 5 additions and 2 deletions

View File

@@ -34,7 +34,7 @@
}
} else if (command === "[reset]") {
return [];
} else if (command[0] === "-" && !command.match(/^(?:-pool|-parent):/i)) {
} else if (command[0] === "-" && !command.match(/^(?:-pool|-parent|-fav|-favgroup):/i)) {
return Danbooru.reject(tags, function(x) {return x === command.substr(1, 100)});
} else {
tags.push(command);