Fix tab completion

This commit is contained in:
Mattias Erming 2014-10-01 11:53:16 -07:00
parent b91276c7da
commit d9f48f0e94
2 changed files with 2 additions and 3 deletions

View File

@ -703,8 +703,7 @@ $(function() {
function complete(word) { function complete(word) {
var words = commands.slice(); var words = commands.slice();
var users = chat.find(".active") var users = chat.find(".active")
.find(".names") .find(".names .user")
.children()
.each(function() { .each(function() {
words.push($(this).text().replace(/[+%@~]/, "")); words.push($(this).text().replace(/[+%@~]/, ""));
}); });

View File

@ -1,7 +1,7 @@
{ {
"name": "shout", "name": "shout",
"description": "The self-hosted web IRC client", "description": "The self-hosted web IRC client",
"version": "0.39.1", "version": "0.39.2",
"author": "Mattias Erming", "author": "Mattias Erming",
"preferGlobal": true, "preferGlobal": true,
"bin": { "bin": {