mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix menu re-opening after tap on Android Chrome
This commit is contained in:
parent
e45b80bd32
commit
82eed5d7e8
1 changed files with 1 additions and 1 deletions
|
@ -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) =>
|
||||
|
|
Loading…
Reference in a new issue