From 5ecad64519164a60d130d461db5c773cc17a501d Mon Sep 17 00:00:00 2001 From: Pjotr Prins Date: Fri, 12 Jun 2020 05:02:07 -0500 Subject: Fix buttons, close #71 --- bh20simplewebuploader/static/main.js | 7 ------- 1 file changed, 7 deletions(-) (limited to 'bh20simplewebuploader/static') 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() { -- cgit v1.2.3