From 01a8a6df660646365253e8cf1ec018a54a182256 Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Fri, 21 Sep 2018 21:32:19 -0700 Subject: [PATCH] Oops, don't go checking the textbox for tag removal. --- frontends/etiquette_flask/templates/photo.html | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index 5a9a63c..23acb73 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -291,11 +291,6 @@ function remove_photo_tag(photo_id, tagname, callback) } function remove_photo_tag_form(photo_id, tagname) { - var tagname = document.getElementById("add_tag_textbox").value; - if (tagname == "") - { - return; - } return remove_photo_tag(photo_id, tagname, receive_callback); }