From 615734fd14702345692c515bbac8317a211bd3a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C4=85tkowski?= Date: Wed, 10 Aug 2022 00:08:20 +0200 Subject: [PATCH] Fix disabled 'load more results' button --- cmd/magneticow/data/static/scripts/torrents.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/magneticow/data/static/scripts/torrents.js b/cmd/magneticow/data/static/scripts/torrents.js index 3fadd40..5b9f03e 100644 --- a/cmd/magneticow/data/static/scripts/torrents.js +++ b/cmd/magneticow/data/static/scripts/torrents.js @@ -125,7 +125,8 @@ function load(queryParam) { if (req.readyState !== 4) return; - disableButtonWithMsg("Load More Results") + button.textContent = "Load More Results"; + button.removeAttribute("disabled"); if (req.status !== 200) alert(req.responseText);