Remove Flash from todos when finished

This commit is contained in:
Jacob Schatz 2016-03-04 09:15:48 -05:00 committed by Phil Hughes
parent fa570525db
commit 8f8720209f

View file

@ -26,7 +26,6 @@ class @Todos
return return
success: (data, textStatus, jqXHR) -> success: (data, textStatus, jqXHR) ->
new Flash(data.notice, 'success')
_this.clearDone($this.closest('li')) _this.clearDone($this.closest('li'))
return return