We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ba59a5e commit 6d3efacCopy full SHA for 6d3efac
src/client/sidebar-init.ts
@@ -1,6 +1,3 @@
1
-// Remove basic authentication in the URL, if any (to fix file attachments).
2
-if (Object.assign(document.createElement("a"), {href: ""}).password) location.replace(location.href);
3
-
4
const sidebar = document.querySelector<HTMLElement>("#observablehq-sidebar")!;
5
const toggle = document.querySelector<HTMLInputElement>("#observablehq-sidebar-toggle")!;
6
0 commit comments