Fix ZeroTalk scroll fixing

This commit is contained in:
shortcutme 2016-12-14 00:25:47 +01:00
parent 34e52153a2
commit c0d2e5efa6
2 changed files with 2 additions and 2 deletions

View file

@ -141,7 +141,7 @@ class Wrapper
if query == null
query = window.location.search
back = window.location.pathname
if back.match /^\/[^\/]*$/ # Add / after site address if called without it
if back.match /^\/[^\/]+$/ # Add / after site address if called without it
back += "/"
if query.replace("?", "")
back += "?"+query.replace("?", "")

View file

@ -959,7 +959,7 @@ jQuery.extend( jQuery.easing,
query = window.location.search;
}
back = window.location.pathname;
if (back.match(/^\/[^\/]*$/)) {
if (back.match(/^\/[^\/]+$/)) {
back += "/";
}
if (query.replace("?", "")) {