repo: janusweb action: commit revision: path_from: revision_from: e4633bf57e68040c26141f05ae718bd76951f638: path_to: revision_to:
commit e4633bf57e68040c26141f05ae718bd76951f638 Author: James BaicoianuDate: Thu Sep 29 03:33:37 2016 -0700 Don't focus chat if urlbar has focus diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -334,7 +334,7 @@ setTimeout(function() {
}
}
this.showChat = function(ev) {
- if (ev.value == 1) {
+ if (ev.value == 1 && document.activeElement != this.engine.client.ui.urlbar.inputelement) {
this.chat.focus();
}
}
-----END OF PAGE-----