From f4d7c354eae7f32251e4f9d794cbb21b2efa5d07 Mon Sep 17 00:00:00 2001 From: qkqpttgf <45693631+qkqpttgf@users.noreply.github.com> Date: Mon, 31 Aug 2020 13:27:04 +0800 Subject: [PATCH] fix: # in filename can not thumbnails --- theme/classic.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/theme/classic.html b/theme/classic.html index a31d4dc..7b18366 100644 --- a/theme/classic.html +++ b/theme/classic.html @@ -655,9 +655,7 @@ files[$i].parentNode.parentNode.innerHTML=''+str+''; $i--; } else { - var nurl=window.location.href; - if (nurl.substr(-1)!="/") nurl+="/"; - var url=nurl+str+'?thumbnails'; + var url=files[$i].href.replace(/preview/, 'thumbnails'); get_thumbnails_url(url, str, files[$i]); } }