diff --git a/coinmanager/coinc/static/coinc/main.js b/coinmanager/coinc/static/coinc/main.js index 64b082b..0cac22d 100644 --- a/coinmanager/coinc/static/coinc/main.js +++ b/coinmanager/coinc/static/coinc/main.js @@ -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); diff --git a/coinmanager/coinc/templates/coinc/coin.html b/coinmanager/coinc/templates/coinc/coin.html index 5297406..a94bff2 100644 --- a/coinmanager/coinc/templates/coinc/coin.html +++ b/coinmanager/coinc/templates/coinc/coin.html @@ -1 +1 @@ -