From 8f276bb4dd47130cadaf070706c3ab15476ea3a6 Mon Sep 17 00:00:00 2001 From: Adrian Webb Date: Thu, 30 May 2024 05:03:32 -0400 Subject: [PATCH] Fixing the max document count in the document page javascript. --- app/static/js/document-page.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/static/js/document-page.js b/app/static/js/document-page.js index 639d693..250b748 100644 --- a/app/static/js/document-page.js +++ b/app/static/js/document-page.js @@ -3,7 +3,7 @@ function sleep(ms = 0) { } function update_file_add_button() { - if ($('.file-form:not(.d-none)').length == 5) { + if ($('.file-form:not(.d-none)').length == 10) { $('.file-add-wrapper').hide(); } else { $('.file-add-wrapper').show();