aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/js/router.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/js/router.js b/src/js/router.js
index 118955e..7398b00 100644
--- a/src/js/router.js
+++ b/src/js/router.js
@@ -157,8 +157,9 @@
// if we are coming from the front page then we don't want to do
// any transitions as they just add visual distraction to no end
+ // likewise displaying the offline page
var options = { changeHash: false };
- if ( !this.currentView || this.currentView.id == 'front-page' ) {
+ if ( !this.currentView || this.currentView.id == 'front-page' || view.id == 'offline' ) {
options.transition = 'none';
}
if ( this.reverse ) {