diff --git a/assets/javascripts/views/layout/menu.coffee b/assets/javascripts/views/layout/menu.coffee index 01c954f2..cc543b92 100644 --- a/assets/javascripts/views/layout/menu.coffee +++ b/assets/javascripts/views/layout/menu.coffee @@ -12,7 +12,7 @@ class app.views.Menu extends app.View onClick: => prev = @el.previousElementSibling $.remove @el - $.requestAnimationFrame => $.after(prev, @el) + @delay (=> $.after prev, @el), 200 return onGlobalClick: (event) =>