Skip to content

Commit

Permalink
moved hash to the end of the url
Browse files Browse the repository at this point in the history
  • Loading branch information
srietkerk committed Jan 18, 2024
1 parent 29b9766 commit 64d7b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion teachertool/src/components/MakecodeFrame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const MakeCodeFrame: React.FC<MakeCodeFrameProps> = () => {
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;
}

Expand Down

0 comments on commit 64d7b44

Please sign in to comment.