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
1 changed files with 1 additions and 2 deletions

View File

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