aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/router.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/js/router.js')
-rw-r--r--src/js/router.js6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/js/router.js b/src/js/router.js
index 7398b00..6745835 100644
--- a/src/js/router.js
+++ b/src/js/router.js
@@ -169,8 +169,10 @@
$.mobile.changePage($(view.el), options);
- console.log('changed View to ' + view.id);
- this.currentView = view;
+ if ( view.id != 'front-page' ) {
+ console.log('changed View to ' + view.id);
+ this.currentView = view;
+ }
}
})
});