toggle content instead of disabling button for group members editing

This commit is contained in:
Dmitriy Zaporozhets 2013-08-06 18:49:37 +03:00
parent 6eabf90b80
commit 65eddc00ad

View file

@ -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()