summaryrefslogtreecommitdiff
path: root/StoneIsland/www/js/lib/nav/IntroView.js
diff options
context:
space:
mode:
Diffstat (limited to 'StoneIsland/www/js/lib/nav/IntroView.js')
-rwxr-xr-xStoneIsland/www/js/lib/nav/IntroView.js7
1 files changed, 3 insertions, 4 deletions
diff --git a/StoneIsland/www/js/lib/nav/IntroView.js b/StoneIsland/www/js/lib/nav/IntroView.js
index 5e5ea908..c075619a 100755
--- a/StoneIsland/www/js/lib/nav/IntroView.js
+++ b/StoneIsland/www/js/lib/nav/IntroView.js
@@ -21,14 +21,13 @@ var IntroView = View.extend({
window.addEventListener("deviceorientation", this.orient)
app.footer.hide()
this.orient({ alpha: 0 })
- // get location..
},
-
+
hide: function(){
window.removeEventListener("deviceorientation", this.orient)
this.$alert.hide()
},
-
+
deviceorientation: function(e){
var heading
if ('webkitCompassHeading' in e) {
@@ -61,5 +60,5 @@ var IntroView = View.extend({
e.stopPropagation()
app.router.go("archive")
},
-
+
})