Need to parseInt of counter value to increment properly

This commit is contained in:
mmcw-dev 2017-10-22 20:01:43 -04:00
parent a9e13ac2a6
commit c92e4ec3d3
1 changed files with 1 additions and 1 deletions

View File

@ -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();