From d00d7b4acf822b435e9f373de548343a590cc60a Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 12 Sep 2020 01:19:16 -0700 Subject: [PATCH] Refocus add_tag_box after removing a tag. --- frontends/etiquette_flask/templates/photo.html | 1 + 1 file changed, 1 insertion(+) diff --git a/frontends/etiquette_flask/templates/photo.html b/frontends/etiquette_flask/templates/photo.html index f22e323..be9a363 100644 --- a/frontends/etiquette_flask/templates/photo.html +++ b/frontends/etiquette_flask/templates/photo.html @@ -304,6 +304,7 @@ function add_photo_tag_form() function remove_photo_tag_form(photo_id, tagname) { api.photos.remove_tag(photo_id, tagname, remove_photo_tag_callback); + add_tag_box.focus(); } function add_photo_tag_callback(response)