Fix ZeroTalk scroll fixing
This commit is contained in:
parent
34e52153a2
commit
c0d2e5efa6
2 changed files with 2 additions and 2 deletions
|
@ -141,7 +141,7 @@ class Wrapper
|
||||||
if query == null
|
if query == null
|
||||||
query = window.location.search
|
query = window.location.search
|
||||||
back = window.location.pathname
|
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 += "/"
|
back += "/"
|
||||||
if query.replace("?", "")
|
if query.replace("?", "")
|
||||||
back += "?"+query.replace("?", "")
|
back += "?"+query.replace("?", "")
|
||||||
|
|
|
@ -959,7 +959,7 @@ jQuery.extend( jQuery.easing,
|
||||||
query = window.location.search;
|
query = window.location.search;
|
||||||
}
|
}
|
||||||
back = window.location.pathname;
|
back = window.location.pathname;
|
||||||
if (back.match(/^\/[^\/]*$/)) {
|
if (back.match(/^\/[^\/]+$/)) {
|
||||||
back += "/";
|
back += "/";
|
||||||
}
|
}
|
||||||
if (query.replace("?", "")) {
|
if (query.replace("?", "")) {
|
||||||
|
|
Loading…
Reference in a new issue