Skip to content

Commit

Permalink
Toggle close button on mouseleave
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinYu committed May 8, 2017
1 parent 1eff0ce commit 324e44c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Unreleased

### Bug Fixes

- Toggle close button on `mouseleave`. [#975](https://github.com/mmistakes/minimal-mistakes/issues/975)

## [4.4.1](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.4.1)

### Enhancements

- Add Greek localized UI text strings. [#958](https://github.com/mmistakes/minimal-mistakes/pull/958)
Expand Down
2 changes: 1 addition & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<!doctype html>
<!--
Minimal Mistakes Jekyll Theme 4.4.0 by Michael Rose
Minimal Mistakes Jekyll Theme 4.4.1 by Michael Rose
Copyright 2017 Michael Rose - mademistakes.com | @mmistakes
Free for personal and commercial use under the MIT license
https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE.txt
Expand Down
4 changes: 3 additions & 1 deletion assets/js/plugins/jquery.greedy-navigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ $(document).ready(function(){
$btn.attr("count", numOfItems - numOfVisibleItems);
if (numOfVisibleItems === numOfItems) {
$btn.addClass('hidden');
} else $btn.removeClass('hidden');
} else {
$btn.removeClass('hidden');
}
}

// Window listeners
Expand Down

0 comments on commit 324e44c

Please sign in to comment.