repo: janusweb action: commit revision: path_from: revision_from: dab463ad93709a4e3be74a5c6ac678552769ad36: path_to: revision_to:
commit dab463ad93709a4e3be74a5c6ac678552769ad36 Author: James BaicoianuDate: Wed Jul 14 16:49:25 2021 -0700 Don't navigate to homepage unless location hash is empty diff --git a/scripts/janusweb.js b/scripts/janusweb.js
--- a/scripts/janusweb.js
+++ b/scripts/janusweb.js
@@ -457,7 +457,7 @@ elation.require([
var hashurl = hashargs['janus.url'];
if (hashurl && hashurl != this.properties.url && !this.loading) {
this.setActiveRoom(hashurl, this.currentroom.url, true);
- } else if (!hashurl && this.properties.url != this.homepage) {
+ } else if (!hashurl && this.properties.url != this.homepage && !document.location.hash) {
this.setActiveRoom(this.homepage);
}
}
-----END OF PAGE-----