aboutsummaryrefslogtreecommitdiff
path: root/uploader/static/js
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2025-04-21 17:06:49 -0500
committerFrederick Muriuki Muriithi2025-04-21 17:06:49 -0500
commit30e3f8d7626455feb914ac023ade299b2e400359 (patch)
treeba05e4c26d4077597839d3c6581c0c5798fcba5b /uploader/static/js
parent64d46c5bc168e37a06ca60685fbc7aae54d48ba1 (diff)
downloadgn-uploader-30e3f8d7626455feb914ac023ade299b2e400359.tar.gz
Update to bootstrap 5 classes.
Diffstat (limited to 'uploader/static/js')
-rw-r--r--uploader/static/js/files.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/uploader/static/js/files.js b/uploader/static/js/files.js
index 9d6bca1..0bde6f7 100644
--- a/uploader/static/js/files.js
+++ b/uploader/static/js/files.js
@@ -84,8 +84,8 @@ var errorHandler = makeResumableHandler("error");
var markResumableDragAndDropElement = (resumable, fileinput, droparea, browsebutton) => {
if(resumable.support) {
//Hide file input element and display drag&drop UI
- add_class(fileinput, "hidden");
- remove_class(droparea, "hidden");
+ add_class(fileinput, "visually-hidden");
+ remove_class(droparea, "visually-hidden");
// Define UI elements for browse and drag&drop
resumable.assignDrop(droparea);