Merge pull request #1661 from MaxLeiter/fix-url-params
Fix url query parameters in public mode
This commit is contained in:
commit
7e081b83ba
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user