diff options
| author | Jules Laplace <jules@okfoc.us> | 2015-12-11 03:36:40 -0600 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2015-12-11 03:36:40 -0600 |
| commit | 3ae533445b2cd2738b1f4cf1c3b6faa2a0c866c9 (patch) | |
| tree | f7cb6f54fe6791c48818315a7dd9ee9e112c5835 /StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js | |
| parent | 2582c7d92804e44250c9713d79421c8becc61f62 (diff) | |
perfect time for xcode to update itself
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js')
| -rwxr-xr-x | StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js b/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js index 2d8dca43..8797241f 100755 --- a/StoneIsland/platforms/ios/www/js/lib/nav/IntroView.js +++ b/StoneIsland/platforms/ios/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){ |
