diff --git a/assets/js/ChartManager.js b/assets/js/ChartManager.js index c74d20e..74e74af 100644 --- a/assets/js/ChartManager.js +++ b/assets/js/ChartManager.js @@ -161,8 +161,12 @@ $("#testMicButton").click(() => { createWavFileAndDownload(rawData); // When recording stops, create WAV file rawData = []; // Clear rawData after saving $("#testMicButton").text("Test Occl."); + $("#testMicButton").removeClass("btn-stop"); + $("#testMicButton").addClass("btn-control"); } else { $("#testMicButton").text("Stop"); + $("#testMicButton").addClass("btn-stop"); + $("#testMicButton").removeClass("btn-control"); } }); diff --git a/index.html b/index.html index 2bb110e..6dbb828 100644 --- a/index.html +++ b/index.html @@ -126,7 +126,7 @@ .btn-stop { background-color: #f27777 !important; color: black !important; - font-size: 1.2em; + } /* Sensor Control Card */ @@ -346,7 +346,7 @@