Tabcomplete channel names
This commit is contained in:
parent
daf384f18b
commit
fa97a5177c
@ -384,6 +384,11 @@ $(function() {
|
|||||||
.each(function() {
|
.each(function() {
|
||||||
words.push($(this).text().replace(/[+%@~]/, ""));
|
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(
|
return $.grep(
|
||||||
words,
|
words,
|
||||||
function(w) {
|
function(w) {
|
||||||
|
Loading…
Reference in New Issue
Block a user