summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
diff options
context:
space:
mode:
authorRene Ae <aehtyb@gmail.com>2015-12-15 17:11:58 -0600
committerRene Ae <aehtyb@gmail.com>2015-12-15 17:11:58 -0600
commit0cd5ed392809b343c2f8d85df81f59021129723a (patch)
treebc07f47b1b30aeea091a9b20591a937e38c471d2 /StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
parent33f9d73731c17d0b479721640a0c6a31230ac6bb (diff)
stoppropagation
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/nav/IntroView.js24
1 files changed, 20 insertions, 4 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js b/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
index 8797241f..5e5ea908 100755
--- a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
+++ b/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js
@@ -41,9 +41,25 @@ var IntroView = View.extend({
this.compass.style[transformProp] = "translateZ(0) translateX(-50%) translateY(-50%) rotate(" + heading + "deg)"
},
- store: function(){ app.router.go("store") },
- hub: function(){ app.router.go("hub") },
- story: function(){ app.router.go("story") },
- archive: function(){ app.router.go("archive") },
+ store: function(e){
+ e.preventDefault()
+ e.stopPropagation()
+ app.router.go("store")
+ },
+ hub: function(e){
+ e.preventDefault()
+ e.stopPropagation()
+ app.router.go("hub")
+ },
+ story: function(e){
+ e.preventDefault()
+ e.stopPropagation()
+ app.router.go("story")
+ },
+ archive: function(e){
+ e.preventDefault()
+ e.stopPropagation()
+ app.router.go("archive")
+ },
})