Adding activeanimation class when needed
parent
5480f27973
commit
586ff08577
|
@ -176,6 +176,8 @@ TaskDirective = ($tgrepo, $log, $location, $confirm, $navUrls) ->
|
|||
$el.on "click", ".add-comment a.button-green", (event) ->
|
||||
event.preventDefault()
|
||||
|
||||
$el.find(".comment-list").addClass("activeanimation")
|
||||
|
||||
onSuccess = ->
|
||||
$ctrl.loadHistory()
|
||||
|
||||
|
|
|
@ -189,6 +189,8 @@ UsDirective = ($tgrepo, $log, $location, $confirm, $navUrls) ->
|
|||
$el.on "click", ".add-comment a.button-green", (event) ->
|
||||
event.preventDefault()
|
||||
|
||||
$el.find(".comment-list").addClass("activeanimation")
|
||||
|
||||
onSuccess = ->
|
||||
$ctrl.loadHistory()
|
||||
|
||||
|
|
Loading…
Reference in New Issue