repo: janusweb action: commit revision: path_from: revision_from: 63680a54ec087c3ded0f43b94066ae2b182f9e63: path_to: revision_to:
commit 63680a54ec087c3ded0f43b94066ae2b182f9e63 Author: James BaicoianuDate: Wed Feb 26 07:26:53 2020 -0800 Fixed undefined variable error diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -274,7 +274,6 @@ elation.require([
}
this.initRoom = function() {
- var hashargs = elation.url();
var starturl = this.getStartURL();
if (this.autoload || starturl != this.properties.homepage) {
@@ -639,6 +638,7 @@ console.log('Register new SYSTEM tag type:', tagname, classobj, extendclass);
return asset;
}
this.getStartURL = function() {
+ var hashargs = elation.url();
return hashargs['janus.url'] || this.properties.url || this.properties.homepage;
}
}, elation.engine.things.generic);
-----END OF PAGE-----