This commit is contained in:
Toks
2013-06-28 10:51:17 -04:00
parent 256c6f2e80
commit 61b44cb483

View File

@@ -71,6 +71,12 @@
}
var term = before_caret_text.match(/\S+/g).pop();
var prefixes = /^(?:-|~|general:|gen:|artist:|art:|copyright:|copy:|co:|character:|char:|ch:)(.+)$/
var match = term.match(prefixes);
if (match) {
term = match[1];
}
$.ajax({
url: "/tags.json",
data: {