diff --git a/client/js/shout.js b/client/js/shout.js index 6b13f28..8dc8eb3 100644 --- a/client/js/shout.js +++ b/client/js/shout.js @@ -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")