diff --git a/assets/js/app.js b/assets/js/app.js index 2cf758f..c03ae55 100644 --- a/assets/js/app.js +++ b/assets/js/app.js @@ -56,6 +56,7 @@ Hooks.Menu = { onKeyDown(e){ if(e.key === "Escape"){ document.body.click() + this.el.focus() this.reset() } else if(e.key === "Enter" && !this.activeItem){ this.activate(0)