This repository has been archived on 2023-08-24. You can view files and clone it, but cannot push or open issues or pull requests.
2022-12-20 13:29:20 +00:00
|
|
|
async function sidebarOpen() {
|
2022-11-30 22:08:27 +00:00
|
|
|
document.getElementById("sidebar").style.width = "50%";
|
|
|
|
document.getElementById("sidebar_open_short").style.display = "none";
|
|
|
|
document.getElementById("sidebar_close_short").style.display = "block";
|
|
|
|
}
|
|
|
|
|
2022-12-20 13:29:20 +00:00
|
|
|
async function sidebarClose() {
|
2022-11-30 22:08:27 +00:00
|
|
|
document.getElementById("sidebar").style.width = "0%"
|
|
|
|
document.getElementById("sidebar_open_short").style.display = "block";
|
|
|
|
document.getElementById("sidebar_close_short").style.display = "none";
|
2022-12-20 13:29:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
async function gotoBoard(station){
|
|
|
|
console.log(`Finding ${station}`)
|
2023-01-11 21:48:52 +00:00
|
|
|
var url = `http://${window.location.host}/board.html/${station}`;
|
2022-12-20 13:29:20 +00:00
|
|
|
window.location.assign(`board.html?stn=${station}`)
|
2022-11-30 22:08:27 +00:00
|
|
|
}
|