#30: if !#found the name of special coins does not instantly get updates but after a reload of the website
This commit is contained in:
parent
304d9acf03
commit
e35512284f
@ -144,9 +144,8 @@ 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('✔');
|
||||
$(td).find('div.coin span').html('').html('✔'); }
|
||||
|
||||
/* add/update name */
|
||||
if ([201, 202, 203].includes(data['value'])) {
|
||||
@ -173,7 +172,6 @@ function render_response(data, td, set) {
|
||||
$(td).find('div.special' + c + '_name').html();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* remove marker if not exists */
|
||||
if (!set['exists'] || !set['found']) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user