Refocus add_tag_box after removing a tag.

This commit is contained in:
voussoir 2020-09-12 01:19:16 -07:00
parent d41bad63e7
commit d00d7b4acf

View file

@ -304,6 +304,7 @@ function add_photo_tag_form()
function remove_photo_tag_form(photo_id, tagname) function remove_photo_tag_form(photo_id, tagname)
{ {
api.photos.remove_tag(photo_id, tagname, remove_photo_tag_callback); api.photos.remove_tag(photo_id, tagname, remove_photo_tag_callback);
add_tag_box.focus();
} }
function add_photo_tag_callback(response) function add_photo_tag_callback(response)