feature: add a map
This commit is contained in:
parent
19afb7f9fa
commit
32ed2dfd33
23 changed files with 29839 additions and 130 deletions
|
|
@ -13,6 +13,7 @@
|
|||
tab_switch.addEventListener("input", (event) => {
|
||||
const tab_selector = event.target;
|
||||
const view = tab_selector.dataset.view;
|
||||
|
||||
if (view) {
|
||||
window.location.hash = `/${view}${ document.body.dataset.channel ? `/channel/${ document.body.dataset.channel }` : '' }`;
|
||||
}
|
||||
|
|
@ -134,4 +135,5 @@
|
|||
<!-- #include file="./blurbs/blurbs.html" -->
|
||||
<!-- #include file="./forum/forum.html" -->
|
||||
<!-- #include file="./essays/essays.html" -->
|
||||
<!-- #include file="./map/map.html" -->
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue