aboutsummaryrefslogtreecommitdiffstats
path: root/www/js
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2013-04-25 12:07:19 +0100
committerStruan Donald <struan@exo.org.uk>2013-04-25 12:07:19 +0100
commit1429d8b220cb71a0247ac9ac06df2e09ba38b9ce (patch)
tree6520f4b4dd55dcaafd6297b9930bae1fbd89105c /www/js
parentb28494cbff3303d279d15608196eeba0124cce63 (diff)
make sure offline page next button had correct text when initially displayed
Diffstat (limited to 'www/js')
-rw-r--r--www/js/views/offline.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/www/js/views/offline.js b/www/js/views/offline.js
index 342ee1a..84bbe1c 100644
--- a/www/js/views/offline.js
+++ b/www/js/views/offline.js
@@ -9,6 +9,7 @@
events: {
'pagehide': 'destroy',
+ 'pagebeforeshow': 'toggleNextButton',
'pageshow': 'afterDisplay',
'click .ui-btn-left': 'onClickButtonPrev',
'click .ui-btn-right': 'onClickButtonNext',