repo: janusweb action: commit revision: path_from: revision_from: 20a08d516ed2244a16c0c4755162d67c1152fbb0: path_to: revision_to:
commit 20a08d516ed2244a16c0c4755162d67c1152fbb0 Author: James BaicoianuDate: Wed Jan 18 22:38:41 2017 -0800 Don't set room active if it already is active diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -390,7 +390,7 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
if (this.urltemplate) {
var re = new RegExp(elation.template.get('janusweb.url', {url: '(.*)'}).replace('/', '\\/'));
var m = document.location.pathname.match(re);
- if (m) {
+ if (m && m[1] != this.currentroom.url) {
this.setActiveRoom(m[1], null, true);
}
} else {
-----END OF PAGE-----