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) ->
|
$el.on "click", ".add-comment a.button-green", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
|
||||||
|
$el.find(".comment-list").addClass("activeanimation")
|
||||||
|
|
||||||
onSuccess = ->
|
onSuccess = ->
|
||||||
$ctrl.loadHistory()
|
$ctrl.loadHistory()
|
||||||
|
|
||||||
|
|
|
@ -189,6 +189,8 @@ UsDirective = ($tgrepo, $log, $location, $confirm, $navUrls) ->
|
||||||
$el.on "click", ".add-comment a.button-green", (event) ->
|
$el.on "click", ".add-comment a.button-green", (event) ->
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
|
|
||||||
|
$el.find(".comment-list").addClass("activeanimation")
|
||||||
|
|
||||||
onSuccess = ->
|
onSuccess = ->
|
||||||
$ctrl.loadHistory()
|
$ctrl.loadHistory()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue