This commit is contained in:
koksnuss 2020-05-11 11:33:10 +02:00
parent 0701bad87a
commit b1a68c039a
2 changed files with 2 additions and 3 deletions

View File

@ -127,8 +127,7 @@ function render_response(td, set) {
if (set['found'] && set['found_by'] && set['exists']) {
div_class = set['found_by'];
// TODO remove marker before marker
$(td).find('div.coin').append('x');
$(td).find('div.coin span').html('').html('x');
}
$(td).removeClass();
$(td).addClass('coin ' + td_class);

View File

@ -1 +1 @@
<td class="coin {{ td_class }}" value="{{ value }}"><div class="coin">{{ marker }}<div class="{{ div_class }}" type="overlay"></div></div></td>
<td class="coin {{ td_class }}" value="{{ value }}"><div class="coin"><span>{{ marker }}</span><div class="{{ div_class }}" type="overlay"></div></div></td>