Skip to content

Commit

Permalink
Release v0.3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dpilafian committed Oct 3, 2021
1 parent cb38356 commit 462bd8b
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
3 changes: 2 additions & 1 deletion dist/hamburger-menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
/*! HamburgerMenu v0.3.8 ☰ github.com/center-key/hamburger-menu ☰ MIT License */
/*! hamburger-menu v0.3.9 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */

/*
Structure for HamburgerMenu:
nav.hamburger-menu
Expand Down
8 changes: 6 additions & 2 deletions dist/hamburger-menu.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
//! HamburgerMenu v0.3.8 ☰ github.com/center-key/hamburger-menu ☰ MIT License
//! hamburger-menu v0.3.9https://github.com/center-key/hamburger-menu ☰ MIT License

const hamburgerMenu = {
version: '0.3.8',

version: '0.3.9',

selectItem(event) {
const item = $(event.target).closest('li');
item.closest('aside').find('li').removeClass('current');
Expand All @@ -18,6 +20,7 @@ const hamburgerMenu = {
const afterCurrentClick = 100;
window.setTimeout(() => $(window.document).on(eventRoutes), afterCurrentClick);
},

setup() {
$(window.document).on({ click: $.noop }); //workaround for sticky hover on mobile
const nav = $('nav.hamburger-menu');
Expand All @@ -41,6 +44,7 @@ const hamburgerMenu = {
if (!nav.find('>aside').hasClass('disable-auto-highlight'))
autoHighlight();
},

};

$(hamburgerMenu.setup);
2 changes: 1 addition & 1 deletion dist/hamburger-menu.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions dist/hamburger-menu.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/hamburger-menu.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! hamburger-menu v0.3.8 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */
/*! hamburger-menu v0.3.9 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License */

/*
Structure for HamburgerMenu:
Expand Down
4 changes: 2 additions & 2 deletions docs/hamburger-menu.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
//! hamburger-menu v0.3.8 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License
//! hamburger-menu v0.3.9 ☰ https://github.com/center-key/hamburger-menu ☰ MIT License

const hamburgerMenu = {

version: '0.3.8',
version: '0.3.9',

selectItem(event) {
const item = $(event.target).closest('li');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hamburger-menu",
"version": "0.3.8",
"version": "0.3.9",
"description": "☰ A responsive CSS solution for a hamburger menu ☰",
"license": "MIT",
"type": "module",
Expand Down

0 comments on commit 462bd8b

Please sign in to comment.