diff --git a/CTFd/static/admin/js/team.js b/CTFd/static/admin/js/team.js index 032f9bf..86a6216 100644 --- a/CTFd/static/admin/js/team.js +++ b/CTFd/static/admin/js/team.js @@ -41,14 +41,6 @@ function scoregraph () { }); } -function adjust_times () { - $.each($(".solve-time"), function(i, e){ - $(e).text( moment(parseInt(e.innerText)).local().format('LLL') ) - }) - $(".solve-time").css('color', "#222") -} - - function keys_percentage_graph(){ // Solves and Fails pie chart $.get('/admin/fails/'+teamid(), function(data){ @@ -125,4 +117,4 @@ function category_breakdown_graph(){ category_breakdown_graph(); keys_percentage_graph(); adjust_times(); -scoregraph(); \ No newline at end of file +scoregraph(); diff --git a/CTFd/templates/admin/team.html b/CTFd/templates/admin/team.html index 6b38054..e103bb9 100644 --- a/CTFd/templates/admin/team.html +++ b/CTFd/templates/admin/team.html @@ -66,7 +66,7 @@ {% for addr in addrs %}