diff options
-rw-r--r-- | client/js/ui/main.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/client/js/ui/main.js b/client/js/ui/main.js index 9a322e6..e45080a 100644 --- a/client/js/ui/main.js +++ b/client/js/ui/main.js @@ -190,7 +190,10 @@ var placeholders = { timeOfVisit: document.querySelector('.time-of-visit') } -document.querySelector("#start-button").addEventListener("click",()=>{start_radio();}); +document.querySelector("#start-button").addEventListener("click",()=>{ + start_radio(); + document.querySelector("#start-button").remove(); +}); document.querySelector("#sync-button").addEventListener("click",()=>{sync_radio();}); // @license-end |