chat: Delete non-functional Alt-C shortcut handler
parent
a1388b7876
commit
59848efc9b
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue