Skip to content

Commit

Permalink
Fixing the max document count in the document page javascript.
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianwebb committed May 30, 2024
1 parent 9f6ae03 commit 8f276bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/static/js/document-page.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8f276bb

Please sign in to comment.