Commit 1920ca6e authored by simon's avatar simon
Browse files

Fix ajax form

parent fce3513b
document.getElementById("menu-tags").innerHTML =
"<%= escape_javascript(render partial: 'tag_list', locals: { tags: @tags } ) %>";
document.querySelectorAll(".menu-tags").forEach((menu) => {
menu.innerHTML =
"<%= escape_javascript(render partial: 'tag_list', locals: { tags: @tags } ) %>";
});
document.querySelectorAll(".search-form-small").forEach((tag) => {
tag.value = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment