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()
|
@removeTextareaCatcher()
|
||||||
|
|
||||||
openTextarea: (event, withoutAnimation) =>
|
openTextarea: (event, withoutAnimation) =>
|
||||||
if !@articleNewEdit.hasClass('is-open')
|
if @articleNewEdit.hasClass('is-open')
|
||||||
|
return
|
||||||
|
|
||||||
duration = 300
|
duration = 300
|
||||||
|
|
||||||
if withoutAnimation
|
if withoutAnimation
|
||||||
|
|
Loading…
Reference in a new issue