repo: janusweb
action: commit
revision: 
path_from: 
revision_from: af03ec91543bce33d19793398bf38ca818cd9e50:
path_to: 
revision_to: 
git.thebackupbox.net
janusweb
git clone git://git.thebackupbox.net/janusweb
commit af03ec91543bce33d19793398bf38ca818cd9e50
Author: James Baicoianu 
Date:   Wed Jan 18 02:15:08 2017 -0800

    Removed references to changed variable

diff --git a/scripts/janusweb.js b/scripts/janusweb.js
index fc8f94b3ee2361456d6a5c24b8e1c2b4783fc027..
index ..7e51957e6f504ee0e126658aad02bc838549e19c 100644
--- 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-----