Commit 65eddc00 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

toggle content instead of disabling button for group members editing

parent 6eabf90b
......@@ -13,6 +13,5 @@ $ ->
e.preventDefault()
$("body").on "click", ".js-toggle-button", (e) ->
$(@).disableButton()
$(@).closest(".js-toggle-container").find(".js-toggle-content").show()
$(@).closest(".js-toggle-container").find(".js-toggle-content").toggle()
e.preventDefault()
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