diff options
author | Pjotr Prins | 2020-06-12 05:02:07 -0500 |
---|---|---|
committer | Pjotr Prins | 2020-06-12 05:11:41 -0500 |
commit | 5ecad64519164a60d130d461db5c773cc17a501d (patch) | |
tree | df5b43806ab616f9edf8f30b74d45653e6966cd5 /bh20simplewebuploader/static/main.js | |
parent | 9fb2d889105753b52ba6380f7f1e6f8732daefe2 (diff) | |
download | bh20-seq-resource-5ecad64519164a60d130d461db5c773cc17a501d.tar.gz bh20-seq-resource-5ecad64519164a60d130d461db5c773cc17a501d.tar.lz bh20-seq-resource-5ecad64519164a60d130d461db5c773cc17a501d.zip |
Fix buttons, close #71
Diffstat (limited to 'bh20simplewebuploader/static/main.js')
-rw-r--r-- | bh20simplewebuploader/static/main.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/bh20simplewebuploader/static/main.js b/bh20simplewebuploader/static/main.js index fba791d..9373199 100644 --- a/bh20simplewebuploader/static/main.js +++ b/bh20simplewebuploader/static/main.js @@ -165,13 +165,6 @@ function removeField(e) { } } -// Find all the add and remove field buttons and hook up the listeners. -for (let button of document.getElementsByClassName('add-field')) { - button.addEventListener('click', addField) -} -for (let button of document.getElementsByClassName('remove-field')) { - button.addEventListener('click', removeField) -} // Change the submit button after hitting function on_submit_button() { |