Oops, don't go checking the textbox for tag removal.

This commit is contained in:
voussoir 2018-09-21 21:32:19 -07:00
parent 670bc8b375
commit 01a8a6df66

View file

@ -291,11 +291,6 @@ function remove_photo_tag(photo_id, tagname, callback)
} }
function remove_photo_tag_form(photo_id, tagname) 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); return remove_photo_tag(photo_id, tagname, receive_callback);
} }