Merge pull request #1661 from MaxLeiter/fix-url-params

Fix url query parameters in public mode
This commit is contained in:
Jérémie Astori 2017-10-24 09:22:37 -04:00 committed by GitHub
commit 7e081b83ba

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() {
var params = URI(document.location.search);
params = params.search(true);