Fix url query parameters in public mode

This commit is contained in:
Max Leiter 2017-10-23 19:31:23 -07:00
parent 61b955ca78
commit e6979fb5fd

View File

@ -497,7 +497,7 @@ $(function() {
}); });
}); });
if ($("body").hasClass("public") && window.location.hash === "#connect") { if ($("body").hasClass("public") && (window.location.hash === "#connect" || window.location.hash === "")) {
$("#connect").one("show", function() { $("#connect").one("show", function() {
var params = URI(document.location.search); var params = URI(document.location.search);
params = params.search(true); params = params.search(true);