diff --git a/www/js/index.js b/www/js/index.js index 4acb607..08d77a5 100644 --- a/www/js/index.js +++ b/www/js/index.js @@ -238,6 +238,9 @@ var app = { reject(); } } else { + /* record that a check for update was succesfully done */ + localStorage.setItem("momo-timestamp", (new Date()).toString()); + if(updateAvailable){ app.flash(tmpl('momo-update-available-tmpl', { mtime: app.utils.formatDate(mtime) }), 'success'); app.utils.setLoadingMsg("Mise à jour disponible !");