Assign const search_go_button instead of implicit html id variable.
This commit is contained in:
parent
ac80d61ab0
commit
cbde9488b8
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue