$('#tracker_solved').html(solvednr);
$('#tracker_attempted').html(attemptednr);
$('#tracker_contests').html(data.contests.length);
+ $('#tracker_log').attr('href', '/log/?owner=' + user);
if(location.pathname == '/pb/')
$('table').find('.name').find('a').each(function() {
}
$( document ).ready(function(){
- $('#tracker').detach().prependTo($('#sidebar')).removeClass('hidden');
+ $('#tracker').detach().prependTo($('#sidebar'));
$('#tracker_button').on('click', function() { start_tracking($('#tracker_username').val()) });
$('#tracker_stop').on('click', stop_tracking);
- $('#track_user').removeClass('hidden');
$('#track_user').on('click', function() { stop_tracking(); start_tracking($(this).data('user')) });
if(localStorage.getItem('tracker_username'))