pis #2
@ -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">
|
||||||
|
16
js/pis.js
16
js/pis.js
@ -58,10 +58,14 @@ async function displayUnauthorised() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
async function reset() {
|
async function reset() {
|
||||||
document.getElementById('origin').value = ""
|
try {
|
||||||
document.getElementById('destination').value = ""
|
document.getElementById('origin').value = ""
|
||||||
document.getElementById('result-box').style = 'display:none'
|
document.getElementById('destination').value = ""
|
||||||
document.getElementById('result-table').remove()
|
document.getElementById('result-box').style = 'display:none'
|
||||||
document.getElementById('crs-box').style = 'display:block'
|
document.getElementById('result-table').remove()
|
||||||
document.getElementById('result-count').textContent = 0
|
document.getElementById('crs-box').style = 'display:block'
|
||||||
|
document.getElementById('result-count').textContent = 0
|
||||||
|
} catch(e) {
|
||||||
|
log(`Nothing to reset`)
|
||||||
|
}
|
||||||
}
|
}
|
Reference in New Issue
Block a user