X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=js%2F90-tracker.js;fp=js%2F90-tracker.js;h=00312bdc7012da0c8cc6a9853eca847b41427085;hb=21acb1d6a80251f93acc9f98e70a664e09b29e07;hp=16b9d8739f0e614b2f9b634cd453680f356d494f;hpb=3ef3217494bfccc63dbb6b0a163b1e4d1f4ec400;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/')