summaryrefslogtreecommitdiffstats
path: root/zalmy.js
diff options
context:
space:
mode:
Diffstat (limited to 'zalmy.js')
-rw-r--r--zalmy.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/zalmy.js b/zalmy.js
index 4e0c01a..88e39de 100644
--- a/zalmy.js
+++ b/zalmy.js
@@ -43,6 +43,10 @@ var Psalm = (function () {
_this.swipe_pos_y = 0;
}, false);
+ applicationCache.addEventListener("updateready", function () {
+ location.reload();
+ });
+
this.display();
}
Object.defineProperty(Psalm.prototype, "cur_psalm", {