From 215d2cd692fd5eaf6cbe6af6e786fec56cd4ce0a Mon Sep 17 00:00:00 2001 From: Lawrence Hook Date: Mon, 20 Mar 2023 22:01:54 -0400 Subject: [PATCH] fix redirect bug --- src/content-script/main.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content-script/main.js b/src/content-script/main.js index 7b261de..6003181 100644 --- a/src/content-script/main.js +++ b/src/content-script/main.js @@ -480,6 +480,8 @@ function handleNewPage() { } if (cache['redirect_to_wl']) { location.replace(REDIRECT_URLS['redirect_to_wl']); + handleNewPage(); + return; } if (cache['redirect_to_library']) { const button = qs('a#endpoint[href="/feed/library"]');