Assign const search_go_button instead of implicit html id variable.

This commit is contained in:
voussoir 2021-06-01 17:52:17 -07:00
parent ac80d61ab0
commit cbde9488b8
No known key found for this signature in database
GPG key ID: 5F7554F8C26DACCB

View file

@ -702,7 +702,7 @@ const inputted_forbids = [];
{% endif %} {% endif %}
{% endfor %} {% endfor %}
document.getElementById("search_go_button"); const search_go_button = document.getElementById("search_go_button");
input_musts.addEventListener("keyup", tag_input_hook_musts); input_musts.addEventListener("keyup", tag_input_hook_musts);
common.bind_box_to_button(input_musts, search_go_button, true); common.bind_box_to_button(input_musts, search_go_button, true);