path to current page only
This commit is contained in:
@@ -297,7 +297,7 @@ function toggle_blank() {
|
||||
arrow.innerHTML=arrowChar;
|
||||
}
|
||||
function scroll_save() {
|
||||
document.cookie = "position=" + window.scrollY + ";";
|
||||
document.cookie = "position=" + window.scrollY + "; path=" + window.location.pathname;
|
||||
}
|
||||
function scroll_load() {
|
||||
var position=parseInt(get_cookie("position"));
|
||||
|
||||
Reference in New Issue
Block a user