Tabcomplete channel names

This commit is contained in:
Mattias Erming 2014-07-10 00:47:38 +02:00
parent daf384f18b
commit fa97a5177c

View File

@ -384,6 +384,11 @@ $(function() {
.each(function() {
words.push($(this).text().replace(/[+%@~]/, ""));
});
var channels = sidebar.find(".channel")
.each(function() {
var chan = $(this).clone().remove("span").text().trim();
words.push(chan);
});
return $.grep(
words,
function(w) {