No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with
2 additions and
2 deletions
-
voicegardens/static/voicegardens.js
|
@ -56,7 +56,7 @@ function record() { |
|
|
/** |
|
|
/** |
|
|
* Start recording a sound. |
|
|
* Start recording a sound. |
|
|
**/ |
|
|
**/ |
|
|
if (microphone.enabled) { |
|
|
if (microphone.enabled === true) { |
|
|
recorder.record(recording); |
|
|
recorder.record(recording); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@ -65,7 +65,7 @@ function stop() { |
|
|
/** |
|
|
/** |
|
|
* Stop recording a new sound. |
|
|
* Stop recording a new sound. |
|
|
**/ |
|
|
**/ |
|
|
if (recorder.recording) { |
|
|
if (recorder.recording === true) { |
|
|
recorder.stop(); |
|
|
recorder.stop(); |
|
|
newSoundJustRecorded = true; |
|
|
newSoundJustRecorded = true; |
|
|
} |
|
|
} |
|
|