pis #1
@ -3,6 +3,7 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
||||||
|
<meta name="robots" content="noindex"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
<meta name="application-name" content="OwlBoard">
|
<meta name="application-name" content="OwlBoard">
|
||||||
<meta name="author" content="Frederick Boniface">
|
<meta name="author" content="Frederick Boniface">
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
<meta charset="UTF-8"/>
|
<meta charset="UTF-8"/>
|
||||||
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="robots" content="noindex"/>
|
||||||
<meta name="application-name" content="OwlBoard">
|
<meta name="application-name" content="OwlBoard">
|
||||||
<meta name="author" content="Frederick Boniface">
|
<meta name="author" content="Frederick Boniface">
|
||||||
<meta name="theme-color" content="#00b7b7">
|
<meta name="theme-color" content="#00b7b7">
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
<meta name="description" content="OwlBoard - Live train departures for traincrew."/>
|
||||||
<meta name="robots" content="noindex"/>
|
<meta name="robots" content="noindex"/>
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<meta name="robots" content="noindex"/>
|
||||||
<meta name="application-name" content="OwlBoard">
|
<meta name="application-name" content="OwlBoard">
|
||||||
<meta name="author" content="Frederick Boniface">
|
<meta name="author" content="Frederick Boniface">
|
||||||
<meta name="theme-color" content="#00b7b7">
|
<meta name="theme-color" content="#00b7b7">
|
||||||
|
@ -58,10 +58,14 @@ async function displayUnauthorised() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function reset() {
|
async function reset() {
|
||||||
|
try {
|
||||||
document.getElementById('origin').value = ""
|
document.getElementById('origin').value = ""
|
||||||
document.getElementById('destination').value = ""
|
document.getElementById('destination').value = ""
|
||||||
document.getElementById('result-box').style = 'display:none'
|
document.getElementById('result-box').style = 'display:none'
|
||||||
document.getElementById('result-table').remove()
|
document.getElementById('result-table').remove()
|
||||||
document.getElementById('crs-box').style = 'display:block'
|
document.getElementById('crs-box').style = 'display:block'
|
||||||
document.getElementById('result-count').textContent = 0
|
document.getElementById('result-count').textContent = 0
|
||||||
|
} catch(e) {
|
||||||
|
log(`Nothing to reset`)
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user