Assign const search_go_button instead of implicit html id variable.

master
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
1 changed files with 1 additions and 1 deletions

View File

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