Generalize toggle_buttons for JavaScript usage

What does this MR do?

EE MR, https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/4244

No functional changes to the UI

Are there points in the code the reviewer needs to double check?

Does this MR meet the acceptance criteria?

What are the relevant issue numbers?

Edited by Filipa Lacerda

Merge request reports

Loading