From 0fb86901a37df82bd6eb8b58d11907c9e1786435 Mon Sep 17 00:00:00 2001 From: Jack Date: Sat, 30 May 2020 01:04:12 +0100 Subject: [PATCH] fixed a bug where the account page would not load --- public/js/account.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/js/account.js b/public/js/account.js index baea92d7c..e4fd13385 100644 --- a/public/js/account.js +++ b/public/js/account.js @@ -391,7 +391,7 @@ let filteredResults = []; let visibleTableLines = 0; function loadMoreLines(){ - if(filteredResults == []) return; + if(filteredResults == [] || filteredResults.length == 0) return; for(let i = visibleTableLines; i < visibleTableLines+10; i++){ result = filteredResults[i]; let withpunc = '';