fix t/444: whitespace on right side; cleaned up some js

This commit is contained in:
jomo
2014-09-25 22:05:05 +02:00
parent b5c643f032
commit b8ae04c94d
2 changed files with 10 additions and 4 deletions

View File

@@ -58,9 +58,8 @@ $(function() {
mode: "inner",
on: {
query: function(text, callback) {
console.log(query_history)
if (text.length > 2 && text[0] == "@") {
text = text.slice(1)
text = text.slice(1);
if (query_history[text]) {
callback(query_history[text]);
} else {