From a6e4f48d8f5636eb7ce0affed789990dd653e484 Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Thu, 7 May 2020 17:07:13 +0200 Subject: adding modal and covid19 faq link --- StoneIsland/www/js/lib/nav/IntroView.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'StoneIsland/www/js/lib/nav/IntroView.js') diff --git a/StoneIsland/www/js/lib/nav/IntroView.js b/StoneIsland/www/js/lib/nav/IntroView.js index c075619a..8cb92b53 100755 --- a/StoneIsland/www/js/lib/nav/IntroView.js +++ b/StoneIsland/www/js/lib/nav/IntroView.js @@ -14,6 +14,7 @@ var IntroView = View.extend({ this.compass = this.$("#compass").get(0) this.orient = this.deviceorientation.bind(this) this.$alert.hide() + this.modal = new IntroModal() }, show: function(){ @@ -21,6 +22,7 @@ var IntroView = View.extend({ window.addEventListener("deviceorientation", this.orient) app.footer.hide() this.orient({ alpha: 0 }) + this.modal.check() }, hide: function(){ -- cgit v1.2.3-70-g09d2