diff --git a/public/js/jquery.raptorize.1.0.js b/public/js/jquery.raptorize.1.0.js index 818277a3..78b92088 100644 --- a/public/js/jquery.raptorize.1.0.js +++ b/public/js/jquery.raptorize.1.0.js @@ -33,7 +33,7 @@ $(document).ready(function() { //Raptor Vars (Modify the 'src' to your prefrence) var raptorImageMarkup = '' - var raptorAudioMarkup = ''; + var raptorAudioMarkup = ''; var locked = false; //Append Raptor and Style @@ -54,6 +54,7 @@ $(document).ready(function() { //Sound Hilarity if(audioSupported) { function playSound() { + document.getElementById('elRaptorShriek').volume = 0.2; document.getElementById('elRaptorShriek').play(); } playSound(); diff --git a/views/index.erb b/views/index.erb index 93a369d3..1db9ea98 100644 --- a/views/index.erb +++ b/views/index.erb @@ -44,10 +44,9 @@ $(window).load(function() { $('.pmarca').raptorize({ 'enterOn' : 'timer', //timer, konami-code, click - 'delayTime' : 1000 //time before raptor attacks on timer mode + 'delayTime' : 500 //time before raptor attacks on timer mode }); window.scrollTo(0, 0); - document.getElementById('pmarca').volume = 0.1 });