refactor ticket:openTextarea

This commit is contained in:
Felix Niklas 2015-10-23 16:29:39 +02:00
parent bd364bcb93
commit c5e23bb635

View file

@ -368,7 +368,9 @@ class App.TicketZoomArticleNew extends App.Controller
@removeTextareaCatcher()
openTextarea: (event, withoutAnimation) =>
if !@articleNewEdit.hasClass('is-open')
if @articleNewEdit.hasClass('is-open')
return
duration = 300
if withoutAnimation