Improve loading torrents
This commit is contained in:
parent
791e53c84f
commit
45ffca7f9b
@ -108,6 +108,11 @@ function load() {
|
|||||||
|
|
||||||
ul.innerHTML += Mustache.render(template, t);
|
ul.innerHTML += Mustache.render(template, t);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (torrents.length < 20) {
|
||||||
|
button.textContent = "No More Results";
|
||||||
|
button.setAttribute("disabled", "");
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
req.open("GET", reqURL);
|
req.open("GET", reqURL);
|
||||||
|
Loading…
Reference in New Issue
Block a user