aboutsummaryrefslogtreecommitdiff
path: root/bh20simplewebuploader/static/main.js
diff options
context:
space:
mode:
authorAdam Novak2020-05-05 14:40:07 -0700
committerAdam Novak2020-05-05 14:40:07 -0700
commit90bd12eba8aa938c4b2b40f24f716494fdc2f958 (patch)
tree87aa2491cbad6d0200f4f77bc31961a217dc026a /bh20simplewebuploader/static/main.js
parent07ff2d0f44d07bcca830f020e72ae2389a909f4f (diff)
downloadbh20-seq-resource-90bd12eba8aa938c4b2b40f24f716494fdc2f958.tar.gz
bh20-seq-resource-90bd12eba8aa938c4b2b40f24f716494fdc2f958.tar.lz
bh20-seq-resource-90bd12eba8aa938c4b2b40f24f716494fdc2f958.zip
Use invisible class instead of hidden class
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r--bh20simplewebuploader/static/main.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js
index a67d3df..6a1daa6 100644
--- a/bh20simplewebuploader/static/main.js
+++ b/bh20simplewebuploader/static/main.js
@@ -86,7 +86,7 @@ function addField(e) {
fieldGroup.insertBefore(newField, minusButton)
// Enable the minus button
- minusButton.classList.remove('hidden')
+ minusButton.classList.remove('invisible')
}
/**
@@ -108,7 +108,7 @@ function removeField(e) {
if (existingFields.length <= 1) {
// Collection auto-updates. Now there's only one element. Don't let the
// user remove it. If they don't want it, they can leave it empty.
- this.classList.add('hidden')
+ this.classList.add('invisible')
}
}