1
0
Fork 0
mirror of https://gitlab.com/SIGBUS/nyaa.git synced 2024-12-22 10:59:59 +00:00

Oops, remove debug log

This commit is contained in:
TheAMM 2017-05-14 11:25:09 +03:00
parent cf77b03a6f
commit 675edb08c3

View file

@ -81,9 +81,7 @@ document.addEventListener("DOMContentLoaded", function(event) {
var timedelta = now_timestamp - torrent_timestamp; var timedelta = now_timestamp - torrent_timestamp;
target.setAttribute('title', _format_time_difference(timedelta)); target.setAttribute('title', _format_time_difference(timedelta));
var asd = new Date(torrent_timestamp*1000); target.innerText = _format_date(new Date(torrent_timestamp*1000));
console.log(torrent_timestamp, asd);
target.innerText = _format_date(asd);
} }
}; };
@ -140,4 +138,4 @@ document.addEventListener("DOMContentLoaded", function() {
// bsThemeLink.href = '/static/css/bootstrap.min.css'; // bsThemeLink.href = '/static/css/bootstrap.min.css';
// localStorage.setItem('theme', 'light'); // localStorage.setItem('theme', 'light');
// } // }
// } // }