diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 05:37:34 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 05:37:34 -0600 |
| commit | aa5a9b7c7cd52a69f8dd1d0cdc15475e113e6da0 (patch) | |
| tree | cecfdb0893eb9e936fe605478b3f8195dc7ef987 /StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js | |
| parent | 4178c44c48aa401f7780bec3f89430c83d50fe30 (diff) | |
remembered a couple things, push 0.3.4
Diffstat (limited to 'StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js')
| -rwxr-xr-x | StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js b/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js index 2d8dca43..8797241f 100755 --- a/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js +++ b/StoneIsland/platforms/android/assets/www/js/lib/nav/IntroView.js @@ -10,8 +10,10 @@ var IntroView = View.extend({ }, initialize: function(){ + this.$alert = this.$(".alert") this.compass = this.$("#compass").get(0) this.orient = this.deviceorientation.bind(this) + this.$alert.hide() }, show: function(){ @@ -24,6 +26,7 @@ var IntroView = View.extend({ hide: function(){ window.removeEventListener("deviceorientation", this.orient) + this.$alert.hide() }, deviceorientation: function(e){ |
