Skip to content

Commit

Permalink
Code cleanup for Firefox.
Browse files Browse the repository at this point in the history
  • Loading branch information
cwilso committed Sep 19, 2014
1 parent ce0584d commit 218d568
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function initAudio() {
console.log(e);
});

if (typeof MediaStreamTrack === 'undefined'){
if ((typeof MediaStreamTrack === 'undefined')||(!MediaStreamTrack.getSources)){
console.log("This browser does not support MediaStreamTrack, so doesn't support selecting sources.\n\nTry Chrome Canary.");
} else {
MediaStreamTrack.getSources(gotSources);
Expand Down

0 comments on commit 218d568

Please sign in to comment.