X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-tracker.js;h=00312bdc7012da0c8cc6a9853eca847b41427085;hb=c7f959c08f0d0d6727bc3d98853f0fa69e255957;hp=16b9d8739f0e614b2f9b634cd453680f356d494f;hpb=63b23993665aaa966bc328c5bfbc979760cbb5fe;p=plack-app-gruntmaster.git diff --git a/js/90-tracker.js b/js/90-tracker.js index 16b9d87..00312bd 100644 --- a/js/90-tracker.js +++ b/js/90-tracker.js @@ -45,16 +45,16 @@ $('table').find('.name').find('a').each(function() { var id = $(this).attr('href').split('?', 2)[0]; if(solved[id]) - $(this).parent().append(tick()); + $(this).parent().prepend(tick()); else if(attempted[id]) - $(this).parent().append(xmark()); + $(this).parent().prepend(xmark()); }); if(location.pathname == '/ct/') $('table').find('.name').find('a').each(function() { var id = $(this).attr('href').substr(4); if(contests[id]) - $(this).parent().append(tick()); + $(this).parent().prepend(tick()); }); if(location.pathname == '/log/')