mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Added chat clear keybinding.
This commit is contained in:
parent
2f74c2fb27
commit
ab80c91054
1 changed files with 6 additions and 0 deletions
|
@ -567,6 +567,12 @@ $(function() {
|
|||
}
|
||||
});
|
||||
|
||||
Mousetrap.bind([
|
||||
"command+k"
|
||||
], function (e, keys) {
|
||||
chat.find(".active .chat .messages").empty();
|
||||
});
|
||||
|
||||
function complete(word) {
|
||||
var words = commands.slice();
|
||||
var users = chat.find(".active")
|
||||
|
|
Loading…
Reference in a new issue