summaryrefslogtreecommitdiff
path: root/StoneIsland/platforms/ios/www/js/lib/_router.js
diff options
context:
space:
mode:
authorJules Laplace <julescarbon@gmail.com>2017-09-26 00:47:11 +0200
committerJules Laplace <julescarbon@gmail.com>2017-09-26 00:47:11 +0200
commit6a9186aea6b85beef28e3eb765fbf2322a1c7890 (patch)
treea4a2ad8fcaa8783b4ed3643e950a003c2c0f9de6 /StoneIsland/platforms/ios/www/js/lib/_router.js
parentb6a9175ffeb718994d6e68c4e3e783449c4f34cd (diff)
wtf broken
Diffstat (limited to 'StoneIsland/platforms/ios/www/js/lib/_router.js')
-rwxr-xr-xStoneIsland/platforms/ios/www/js/lib/_router.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/StoneIsland/platforms/ios/www/js/lib/_router.js b/StoneIsland/platforms/ios/www/js/lib/_router.js
index 9927712a..43438854 100755
--- a/StoneIsland/platforms/ios/www/js/lib/_router.js
+++ b/StoneIsland/platforms/ios/www/js/lib/_router.js
@@ -87,6 +87,9 @@ var SiteRouter = Router.extend({
else {
app.view = app[name]
}
+
+ window.FirebasePlugin && window.FirebasePlugin.setScreenName(name)
+
app.header.set_back( !! app.view.back )
app.view.show()
}.bind(this)