toggle content instead of disabling button for group members editing
This commit is contained in:
parent
6eabf90b80
commit
65eddc00ad
1 changed files with 1 additions and 2 deletions
|
@ -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()
|
||||||
|
|
Loading…
Reference in a new issue