Fix menu re-opening after tap on Android Chrome

This commit is contained in:
Thibaut Courouble 2017-02-26 16:44:29 -05:00
parent e45b80bd32
commit 82eed5d7e8

View file

@ -12,7 +12,7 @@ class app.views.Menu extends app.View
onClick: => onClick: =>
prev = @el.previousElementSibling prev = @el.previousElementSibling
$.remove @el $.remove @el
$.requestAnimationFrame => $.after(prev, @el) @delay (=> $.after prev, @el), 200
return return
onGlobalClick: (event) => onGlobalClick: (event) =>