From 713fa141618155a8feed39eec4ded6377e0e8685 Mon Sep 17 00:00:00 2001 From: Ville Rantanen Date: Wed, 29 Jan 2020 11:01:59 +0200 Subject: [PATCH] folder change not reloaded with cookies --- index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 50d12f4..39e0749 100644 --- a/index.html +++ b/index.html @@ -347,7 +347,8 @@ function scroll_load() { } function filter_load() { var needle=get_cookie("filter"); - if (needle===null) { return } + if (needle===null) { return; } + if (needle.startsWith("/")) { needle=""; } document.getElementById("filter").value=needle; } function get_cookie(name) {