This commit is contained in:
Toks
2013-12-06 14:25:24 -05:00
parent 77a7da3f65
commit 0842d9dc6f
2 changed files with 7 additions and 2 deletions

View File

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