         properties:
           translateX: -@attachmentInputHolder.position().left + "px"
         options:
-          duration: 300
+          duration: duration
           easing: 'easeOutQuad'
 
       @attachmentHint.velocity
         properties:
           opacity: 0
         options:
-          duration: 300
+          duration: duration
 
   add_textarea_catcher: ->
     @textareaCatcher = new App.clickCatcher

          minHeight: "#{ @textareaHeight.open - 38 }px"
          marginBottom: 38
        options:
          duration: 300
          easing: 'easeOutQuad'
          complete: => @add_textarea_catcher()


    else
      @remove_textarea_catcher()

  open_textarea: (event, withoutAnimation) =>
    if !@ticketEdit.hasClass('is-open')
      duration = 300

      if withoutAnimation
        duration = 0

      @ticketEdit.addClass('is-open')

      @textarea.velocity
