Update kilo.js
Cette révision appartient à :
Parent
c1acbdb2ff
révision
e1d030c500
1 fichiers modifiés avec 4 ajouts et 0 suppressions
|
@ -34,6 +34,10 @@ var Kilo = function (params) {
|
||||||
// Displaying the block and set the locale timestamp
|
// Displaying the block and set the locale timestamp
|
||||||
document.getElementsByClassName('torrent-preview-table')[0].style.display = 'block'
|
document.getElementsByClassName('torrent-preview-table')[0].style.display = 'block'
|
||||||
document.getElementsByClassName('table-torrent-date')[0].innerText = new Date(Date.now()).toISOString()
|
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
|
// Adding listener events
|
||||||
for (var langIndex = 0; langIndex < document.getElementsByName(this.langSelect).length; langIndex++) {
|
for (var langIndex = 0; langIndex < document.getElementsByName(this.langSelect).length; langIndex++) {
|
||||||
|
|
Référencer dans un nouveau ticket