Transition “hamburger” navicon on click to “X” navicon by adding .close to button

- Close 969
This commit is contained in:
Michael Rose 2017-04-21 20:00:14 -04:00
parent 24999441fc
commit e0099ffa5a
6 changed files with 7 additions and 3 deletions

View file

@ -7,6 +7,7 @@
### Bug Fixes
- Fix `video` helper to load Vimeo videos over https. [#945](https://github.com/mmistakes/minimal-mistakes/pull/945)
- Fix close menu button that was removed when updating Greedy navigation script. [#969](https://github.com/mmistakes/minimal-mistakes/issues/969)
## [4.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.0)

File diff suppressed because one or more lines are too long

View file

@ -56,6 +56,7 @@ $(document).ready(function(){
$btn.on('click', function() {
$hlinks.toggleClass('hidden');
$(this).toggleClass('close');
clearTimeout(timer);
});

View file

@ -4,7 +4,7 @@ permalink: /docs/history/
excerpt: "Change log of enhancements and bug fixes made to the theme."
sidebar:
nav: docs
last_modified_at: 2017-04-19T10:43:41-04:00
last_modified_at: 2017-04-21T19:59:55-04:00
---
## Unreleased
@ -16,6 +16,7 @@ last_modified_at: 2017-04-19T10:43:41-04:00
### Bug Fixes
- Fix `video` helper to load Vimeo videos over https. [#945](https://github.com/mmistakes/minimal-mistakes/pull/945)
- Fix close menu button that was removed when updating Greedy navigation script. [#969](https://github.com/mmistakes/minimal-mistakes/issues/969)
## [4.4.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.0)

File diff suppressed because one or more lines are too long

View file

@ -56,6 +56,7 @@ $(document).ready(function(){
$btn.on('click', function() {
$hlinks.toggleClass('hidden');
$(this).toggleClass('close');
clearTimeout(timer);
});