refactor ticket:openTextarea
This commit is contained in:
parent
bd364bcb93
commit
c5e23bb635
1 changed files with 49 additions and 47 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue