This commit is contained in:
r888888888
2013-06-21 12:44:32 -07:00
parent a94874ef42
commit 435b4ae2dd

View File

@@ -47,6 +47,10 @@
return false; return false;
}, },
source: function(req, resp) { source: function(req, resp) {
if (req.term.match(/ $/)) {
return;
}
var term = req.term.match(/\S+/g).pop(); var term = req.term.match(/\S+/g).pop();
$.ajax({ $.ajax({
url: "/tags.json", url: "/tags.json",