From 4620950e45e593c03c0b74af5f8efd454b7a15e0 Mon Sep 17 00:00:00 2001 From: Atsushi Shimono Date: Sat, 22 May 2021 00:12:54 +0900 Subject: [PATCH] jump to specified position by hash, for environment with slow loading --- reviews/index.html | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/reviews/index.html b/reviews/index.html index ca65a9e..698c127 100644 --- a/reviews/index.html +++ b/reviews/index.html @@ -140,6 +140,10 @@

Filter results

} checkDates() + // jump to hash position after tree built + if (document.location.hash) { + var chash = document.location.hash; + document.location.hash = chash; } else if (debug) console.log('Counter',counter) }, 50)