diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 60f089c..0c10001 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -211,7 +211,7 @@ function save_settings() { settings['found_on'] = found_on; } - let circulation = $('#circulation').val(); + let circulation = Number(String($('#circulation').val()).replace('/./g', '')); if (isNaN(parseInt(circulation)) || circulation < 0 || circulation > 1000000000) { settings['circulation'] = 0; } else {