repo: janusweb action: commit revision: path_from: revision_from: af03ec91543bce33d19793398bf38ca818cd9e50: path_to: revision_to:
commit af03ec91543bce33d19793398bf38ca818cd9e50 Author: James BaicoianuDate: Wed Jan 18 02:15:08 2017 -0800 Removed references to changed variable diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -283,7 +283,6 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
}
if (room) {
- var changed = this.properties.url != url;
if (!url) {
url = this.properties.homepage || this.properties.url;
} else {
@@ -379,7 +378,7 @@ elation.require(['janusweb.config', 'engine.things.generic','janusweb.remoteplay
hashargs['janus.url'] = url;
}
var newhash = '#' + elation.utils.encodeURLParams(hashargs);
- if (changed || document.location.hash != newhash) {
+ if (document.location.hash != newhash) {
document.location.hash = (newhash == '#' ? '' : newhash);
}
}
-----END OF PAGE-----