From 963ead0a306a326a08e18fb965403ea65f5f2fa3 Mon Sep 17 00:00:00 2001 From: Ajay Date: Mon, 24 Jan 2022 22:59:43 -0500 Subject: [PATCH] Fix weird scrolling on help page --- src/options.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/options.ts b/src/options.ts index 98b0025a..4597c2cd 100644 --- a/src/options.ts +++ b/src/options.ts @@ -281,7 +281,7 @@ async function init() { document.getElementById(tabFor).classList.remove("hidden"); tabElements[i].addEventListener("click", () => { - location.hash = tabFor; + if (!embed) location.hash = tabFor; createStickyHeader();