Commit 632cdc91 authored by fred's avatar fred
Browse files

js: don't fail if konami script is not loaded

parent a7d0159a
......@@ -684,7 +684,9 @@ $(function() {
$('#mp3-m3u').addClass('resymbol').show();
}
if (typeof Konami !== 'undefined') {
var konami = new Konami('/party');
}
$(document).on('panik:play', function(ev, data) {
var $page_audio_controls = $('#Main').find('div.audio[data-sound-id="' + data.sound_id + '"]');
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment