From 0ef65f3cccda75718cd1987d9603bfc9d4dcbe98 Mon Sep 17 00:00:00 2001 From: Yuuki Nishiyama Date: Thu, 12 Sep 2024 09:49:31 +0900 Subject: [PATCH] Update RecordingManager.js Fixed an error where the Start Record button could not be pressed. --- assets/js/RecordingManager.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/assets/js/RecordingManager.js b/assets/js/RecordingManager.js index 632ee7c..47f0faf 100644 --- a/assets/js/RecordingManager.js +++ b/assets/js/RecordingManager.js @@ -255,12 +255,12 @@ $(document).ready(function () { } openEarable.sensorManager.subscribeOnSensorDataReceived((sensorData) => { - if (sensorData.sensorId === SENSOR_ID.MICROPHONE) { - console.log(sensorData.rawByteData) - } - - $("#testMicButton").clicked(() => { - + if (sensorData.sensorId === SENSOR_ID.MICROPHONE) { + console.log(sensorData.rawByteData) + } + + $("#testMicButton").clicked(() => { + + }); }); - });