chat: Delete non-functional Alt-C shortcut handler

rhansen-chat
Richard Hansen 2021-12-05 21:59:24 -05:00
parent a1388b7876
commit 59848efc9b
1 changed files with 0 additions and 11 deletions

View File

@ -258,17 +258,6 @@ exports.chat = (() => {
Tinycon.setBubble(0);
});
const self = this;
$('body:not(#chatinput)').on('keypress', function (evt) {
if (evt.altKey && evt.which === 67) {
// Alt c focuses on the Chat window
$(this).blur();
self.show();
$('#chatinput').focus();
evt.preventDefault();
}
});
$('#chatinput').keypress((evt) => {
// if the user typed enter, fire the send
if (evt.key === 'Enter' && !evt.shiftKey) {