diff --git a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee index fc13eca2c..5686e02db 100644 --- a/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee +++ b/app/assets/javascripts/app/controllers/ticket_zoom.js.coffee @@ -463,16 +463,18 @@ class Edit extends App.Controller arrow = list.find('.list-arrow') if toggle.hasClass('state--open') + toggle.removeClass('state--open') list.velocity properties: scale: [ 0, 1 ] opacity: [ 0, 1 ] options: speed: 300 - easing: [ 0.34, 1.61, 0.7, 1 ] - complete: -> toggle.removeClass('state--open') + easing: [ 500, 20 ] + complete: -> list.addClass('hide') else toggle.addClass('state--open') + list.removeClass('hide') toggleDimensions = toggle.get(0).getBoundingClientRect() availableHeight = toggle.scrollParent().outerHeight() diff --git a/app/assets/javascripts/app/views/ticket_zoom/edit.jst.eco b/app/assets/javascripts/app/views/ticket_zoom/edit.jst.eco index e9486649e..151f0ec57 100644 --- a/app/assets/javascripts/app/views/ticket_zoom/edit.jst.eco +++ b/app/assets/javascripts/app/views/ticket_zoom/edit.jst.eco @@ -28,7 +28,7 @@