From b56afa3ba70d47389cd70890cf1271611d822af1 Mon Sep 17 00:00:00 2001 From: mmcwilliams Date: Thu, 8 Feb 2018 11:51:43 -0500 Subject: [PATCH] Add language "and clear counter" to reset confirmation dialog. --- app/www/static/js/intval.mobile.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/www/static/js/intval.mobile.js b/app/www/static/js/intval.mobile.js index a332cf8..4f26c42 100644 --- a/app/www/static/js/intval.mobile.js +++ b/app/www/static/js/intval.mobile.js @@ -599,7 +599,7 @@ mobile.EV = function (fstop, shutter) { }; mobile.reset = function () { - const reset = confirm(`Reset INTVAL3 to default settings?`); + const reset = confirm(`Reset INTVAL3 to default settings and clear counter?`); if (!reset) return false; let opts = { type : 'reset' @@ -617,6 +617,10 @@ mobile.resetSuccess = function () { mobile.getState(); }; +mobile.update = function () { + +}; + /** * Mobile helper functions */