force the value for debug to a number

This commit is contained in:
Cat 2019-11-06 16:13:45 +01:00
parent 20b54da5e4
commit 56897ceded
2 changed files with 4 additions and 1 deletions

View file

@ -6829,6 +6829,9 @@ $.fn.getval = function(){
case 'span':
val = $(this).html();
break;
case 'debug':
val = Number($(this).val());
break;
case 'checkbox':
val = $(this).prop('checked');
break;