From c152d9934af37743578e85c93cb412188524f61c Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Fri, 7 Jul 2017 08:22:51 +0300 Subject: [PATCH] path to current page only --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index e9caca0..1818f82 100644 --- a/index.html +++ b/index.html @@ -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"));