Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0

Update kilo.js

Cette révision appartient à :
kilo 2017-07-16 12:51:00 +02:00 révisé par GitHub
Parent c1acbdb2ff
révision e1d030c500

Voir le fichier

@ -34,6 +34,10 @@ var Kilo = function (params) {
// Displaying the block and set the locale timestamp
document.getElementsByClassName('torrent-preview-table')[0].style.display = 'block'
document.getElementsByClassName('table-torrent-date')[0].innerText = new Date(Date.now()).toISOString()
//Adding the torrent under and above the previewed one. Akuma, you do this
var torrentHTML = ["", ""];
document.getElementById("torrentListResults").innerHTML = torrentHTML[0] + document.getElementById("torrentListResults").innerHTML + torrentHTML[1];
// Adding listener events
for (var langIndex = 0; langIndex < document.getElementsByName(this.langSelect).length; langIndex++) {