Need to parseInt of counter value to increment properly
This commit is contained in:
parent
a9e13ac2a6
commit
c92e4ec3d3
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue