Fixes push to talk when chat is opened.

pull/169/head
fo 11 years ago
parent 74c0c35f31
commit ac5d57d02d
  1. 2
      keyboard_shortcut.js

@ -47,7 +47,7 @@ var KeyboardShortcut = (function(my) {
};
window.onkeydown = function(e) {
if($("#chatspace").css("display") === "none") {
if(!($(":focus").is("input[type=text]") || $(":focus").is("textarea"))) {
if(e.which === "T".charCodeAt(0)) {
if(isAudioMuted()) {
toggleAudio();

Loading…
Cancel
Save