From 130cad1ad59fe603de9344e3703ab5853743278e Mon Sep 17 00:00:00 2001 From: OpenAcousticDevices Date: Tue, 8 Aug 2017 16:06:38 +0100 Subject: [PATCH] Reset time display when device is disconnected Retaining the time and simply greying it out when connection was lost was confusing users who believed the AudioMoth was still connected. --- app.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.js b/app.js index c762c99..781e074 100644 --- a/app.js +++ b/app.js @@ -37,6 +37,8 @@ function disableDisplay() { setTimeButton.disabled = true; + initialiseDisplay(); + } function enableDisplayAndShowTime(date) {