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