Closed simonjvardy closed 3 years ago
Describe the bug Once the alarm conditions are met (Alarm Time - Current Time == 0) The sound plays continuously. It doesn't switch off unless the browser window is closed
To Reproduce Steps to reproduce the behavior:
Expected behavior The feature needs a timout feature if the alarm remains on or the alarm sound needs to stop if the toggle switch is set to OFF
Desktop (please complete the following information):
Refactored alarm.js to pause the audio playback on button click to clear the alarm
Describe the bug Once the alarm conditions are met (Alarm Time - Current Time == 0) The sound plays continuously. It doesn't switch off unless the browser window is closed
To Reproduce Steps to reproduce the behavior:
Expected behavior The feature needs a timout feature if the alarm remains on or the alarm sound needs to stop if the toggle switch is set to OFF
Desktop (please complete the following information):