Fix disabled 'load more results' button

This commit is contained in:
Michał Gątkowski 2022-08-10 00:08:20 +02:00
parent 1e8bccfc92
commit 615734fd14

View File

@ -125,7 +125,8 @@ function load(queryParam) {
if (req.readyState !== 4) if (req.readyState !== 4)
return; return;
disableButtonWithMsg("Load More Results") button.textContent = "Load More Results";
button.removeAttribute("disabled");
if (req.status !== 200) if (req.status !== 200)
alert(req.responseText); alert(req.responseText);