Skip to content

Commit f24b881

Browse files
committed
Revert sound hack for iPhone. Didn't work! :/
1 parent 53c8f33 commit f24b881

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

app/public/js/main.js

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -361,14 +361,3 @@ function drawEvent(data, svg_area) {
361361
$('#area svg g:lt(10)').remove();
362362
}
363363
}
364-
365-
366-
// Some hack to start Howler.js it on iPhone
367-
var unlockIOSAudioPlayback = function () {
368-
var context = Howler.ctx;
369-
var oscillator = context.createOscillator();
370-
oscillator.frequency.value = 200;
371-
oscillator.connect(context.destination);
372-
oscillator.start(0);
373-
oscillator.stop(0);
374-
};

0 commit comments

Comments
 (0)