repo: janusweb action: commit revision: path_from: revision_from: e4e6f93f5f5884b3cc088df6674165ce1b934774: path_to: revision_to:
commit e4e6f93f5f5884b3cc088df6674165ce1b934774 Author: James BaicoianuDate: Mon Jan 8 06:51:42 2018 -0800 Performance optimization when accessing chat diff --git a/scripts/janusplayer.js b/scripts/janusplayer.js
--- a/scripts/janusplayer.js
+++ b/scripts/janusplayer.js
@@ -523,7 +523,7 @@ elation.require(['engine.things.player', 'janusweb.external.JanusVOIP', 'ui.butt
animid = 'walk_right';
} else if (this.controlstate.move_backward) {
animid = 'walk_back';
- } else if (document.activeElement && this.janus.chat && document.activeElement === this.janus.chat.input.inputelement) {
+ } else if (document.activeElement && this.properties.janus.chat && document.activeElement === this.properties.janus.chat.input.inputelement) {
animid = 'type';
} else if (this.hasVoipData()) {
animid = 'speak';
-----END OF PAGE-----