From c92e4ec3d3866a73aba0e81a71befe53dbdb2437 Mon Sep 17 00:00:00 2001 From: mmcw-dev Date: Sun, 22 Oct 2017 20:01:43 -0400 Subject: [PATCH] Need to parseInt of counter value to increment properly --- app/www/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/www/index.html b/app/www/index.html index 5967fb9..de5bdb1 100644 --- a/app/www/index.html +++ b/app/www/index.html @@ -265,7 +265,7 @@ null==d?void 0:d))},attrHooks:{type:{set:function(a,b){if(!o.radioValue&&"radio" }; var incCounter = function (val) { var current = $('#counter').val(); - $('#counter').val(current + val); + $('#counter').val(parseInt(current) + val); }; var settingsPage = function () { $('#settings').show();