diff options
author | Dave Arter <davea@mysociety.org> | 2018-04-08 14:49:20 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2018-04-08 14:49:20 +0100 |
commit | 20b0895690f72591d148ea67ddf6ec29973cdd7c (patch) | |
tree | a7df5c4f9abca3a000b8d30cc48c542c50a3e337 /www/js/router.js | |
parent | 063d772657a98c96b79000199701eb8dd8cd8c07 (diff) | |
parent | 5d31be89ccabddb1dec66e505b91cc26a72ba2fb (diff) |
Merge branch 'groundcontrol-a'
Diffstat (limited to 'www/js/router.js')
-rw-r--r-- | www/js/router.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/js/router.js b/www/js/router.js index c691abb..2a23708 100644 --- a/www/js/router.js +++ b/www/js/router.js @@ -159,7 +159,7 @@ // 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' || view.id == 'offline' ) { + if ( !this.currentView || this.currentView.id == 'front-page' || view.id == 'offline' || view.id === this.currentView.id) { options.transition = 'none'; } if ( this.reverse ) { |