From d737eab661e1362aa69899f6a763dbef1880ad25 Mon Sep 17 00:00:00 2001 From: Toks Date: Fri, 26 Apr 2013 13:05:56 -0400 Subject: [PATCH] fixes #1442 --- app/assets/javascripts/tag_script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/tag_script.js b/app/assets/javascripts/tag_script.js index f1a704035..94d9279a4 100644 --- a/app/assets/javascripts/tag_script.js +++ b/app/assets/javascripts/tag_script.js @@ -34,7 +34,7 @@ } } else if (command === "[reset]") { return []; - } else if (command[0] === "-") { + } else if (command[0] === "-" && !command.match(/^-pool:/i)) { return Danbooru.reject(tags, function(x) {return x === command.substr(1, 100)}); } else { tags.push(command);