From 55f1c8c066ab11108d9c0254eb6b5946c9517dff Mon Sep 17 00:00:00 2001 From: Kyle Drake Date: Tue, 31 Mar 2015 21:04:15 -0700 Subject: [PATCH] stay on top --- public/js/jquery.raptorize.1.0.js | 1 + views/index.erb | 1 + 2 files changed, 2 insertions(+) diff --git a/public/js/jquery.raptorize.1.0.js b/public/js/jquery.raptorize.1.0.js index 5548c391..7d20b585 100644 --- a/public/js/jquery.raptorize.1.0.js +++ b/public/js/jquery.raptorize.1.0.js @@ -57,6 +57,7 @@ $(document).ready(function() { document.getElementById('elRaptorShriek').play(); } playSound(); + window.scrollTo(0, 0); } // Movement Hilarity diff --git a/views/index.erb b/views/index.erb index f59cc166..a99f7699 100644 --- a/views/index.erb +++ b/views/index.erb @@ -46,6 +46,7 @@ 'enterOn' : 'timer', //timer, konami-code, click 'delayTime' : 1000 //time before raptor attacks on timer mode }); + window.scrollTo(0, 0); });