double-great / theme

💅 Jekyll theme for doublegreat.dev
https://doublegreat.dev/theme/
12 stars 3 forks source link

Add triggerMenuHide function #29

Closed katydecorah closed 4 years ago

katydecorah commented 4 years ago

This PR cleans up the navigation code by adding a triggerMenuHide function which is used for both focusin and click event listeners.