Files
Redmine/app/views/reactions/_replace_button.js.erb

8 lines
221 B
Plaintext
Raw Normal View History

(() => {
const button = $('[data-reaction-button-id=<%= reaction_id_for @object %>]');
removeHoverTooltips(button);
button.html($('<%=j reaction_button @object %>').children());
setupHoverTooltips(button);
})();