Added chat clear keybinding.
This commit is contained in:
parent
2f74c2fb27
commit
ab80c91054
@ -567,6 +567,12 @@ $(function() {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Mousetrap.bind([
|
||||||
|
"command+k"
|
||||||
|
], function (e, keys) {
|
||||||
|
chat.find(".active .chat .messages").empty();
|
||||||
|
});
|
||||||
|
|
||||||
function complete(word) {
|
function complete(word) {
|
||||||
var words = commands.slice();
|
var words = commands.slice();
|
||||||
var users = chat.find(".active")
|
var users = chat.find(".active")
|
||||||
|
Loading…
Reference in New Issue
Block a user