From 675edb08c342cade7509ad316ca3833714f0225a Mon Sep 17 00:00:00 2001 From: TheAMM Date: Sun, 14 May 2017 11:25:09 +0300 Subject: [PATCH] Oops, remove debug log --- nyaa/static/js/main.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/nyaa/static/js/main.js b/nyaa/static/js/main.js index 2e0b97a..b9c140b 100644 --- a/nyaa/static/js/main.js +++ b/nyaa/static/js/main.js @@ -81,9 +81,7 @@ document.addEventListener("DOMContentLoaded", function(event) { var timedelta = now_timestamp - torrent_timestamp; target.setAttribute('title', _format_time_difference(timedelta)); - var asd = new Date(torrent_timestamp*1000); - console.log(torrent_timestamp, asd); - target.innerText = _format_date(asd); + target.innerText = _format_date(new Date(torrent_timestamp*1000)); } }; @@ -140,4 +138,4 @@ document.addEventListener("DOMContentLoaded", function() { // bsThemeLink.href = '/static/css/bootstrap.min.css'; // localStorage.setItem('theme', 'light'); // } -// } \ No newline at end of file +// }