We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0d424c4 commit 9a8a0fdCopy full SHA for 9a8a0fd
index.html
@@ -22,7 +22,7 @@
22
</div>
23
24
<script>
25
- const path = location.hash.replace(/^#/, "") || "Empty";
+ const path = (location.hash && location.hash !== "#") ? location.hash.slice(1) : "Empty";
26
const script = document.createElement("script");
27
script.src = `tables/${path}.js`;
28
script.onload = () => initPlanilha();
0 commit comments