diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 5c6e026..4b1f400 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -146,17 +146,29 @@ function render_response(data, td, set) { /* add or update marker (and name) if found */ if (set['found'] && set['found_by'] && set['exists']) { div_class = set['found_by']; - $(td).find('div.coin span').html('').html('x'); + $(td).find('div.coin span').html('').html('✔'); /* add/update name */ - if ('name' in data) { - let name = escape_html(data['name']); + if ([201, 202, 203].includes(data['value'])) { let c = String(value).substring(2,3); - let div_special_name = $(td).find('div.special' + c + '_name'); - if (div_special_name.length == 0) { - $(td).append('