Skip to content

Commit ef54776

Browse files
committed
Fix toggle audio method
1 parent c86173b commit ef54776

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

oscilloscope.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,5 @@ Oscilloscope.prototype.toggleAudio = function() {
101101
this.analyserNode.connect(this.audioContext.destination);
102102
}
103103

104-
this.hasAudio != this.hasAudio;
104+
this.hasAudio = !this.hasAudio;
105105
};

0 commit comments

Comments
 (0)