Skip to content

Commit

Permalink
Reset time display when device is disconnected
Browse files Browse the repository at this point in the history
Retaining the time and simply greying it out when connection was lost
was confusing users who believed the AudioMoth was still connected.
  • Loading branch information
OpenAcousticDevices committed Aug 8, 2017
1 parent 0425707 commit 130cad1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@ function disableDisplay() {

setTimeButton.disabled = true;

initialiseDisplay();

}

function enableDisplayAndShowTime(date) {
Expand Down

0 comments on commit 130cad1

Please sign in to comment.