From 64d7b4466cf4f0c2d6e448df0a30308ce4c6132d Mon Sep 17 00:00:00 2001 From: Sarah Rietkerk Date: Wed, 17 Jan 2024 16:28:28 -0800 Subject: [PATCH] moved hash to the end of the url --- teachertool/src/components/MakecodeFrame.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teachertool/src/components/MakecodeFrame.tsx b/teachertool/src/components/MakecodeFrame.tsx index 18670d4b4ba9..1302b20632e5 100644 --- a/teachertool/src/components/MakecodeFrame.tsx +++ b/teachertool/src/components/MakecodeFrame.tsx @@ -15,7 +15,7 @@ export const MakeCodeFrame: React.FC = () => { if (editorUrl.charAt(editorUrl.length - 1) === "/" && !pxt.BrowserUtils.isLocalHost()) { url = editorUrl.substr(0, editorUrl.length - 1); } - url += `#pub:${shareId}?controller=1&teachertool=1&readonly=1&ws=browser&nocookiebanner=1`; + url += `?controller=1&teachertool=1&readonly=1&ws=browser&nocookiebanner=1#pub:${shareId}`; return url; }