Fixes push to talk when chat is opened.
This commit is contained in:
parent
74c0c35f31
commit
ac5d57d02d
|
@ -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…
Reference in New Issue