Focus Algolia search input
This commit is contained in:
parent
d720398c24
commit
356c1eb093
4 changed files with 15 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
|||
## Unreleased
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Focus Algolia search input after clicking on search toggle.
|
||||
|
||||
## [4.10.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.0)
|
||||
|
||||
### Enhancements
|
||||
|
|
|
@ -57,7 +57,7 @@ $(document).ready(function() {
|
|||
$(".initial-content").toggleClass("is--hidden");
|
||||
// set focus on input
|
||||
setTimeout(function() {
|
||||
$("#search").focus();
|
||||
$(".search-content input").focus();
|
||||
}, 400);
|
||||
});
|
||||
|
||||
|
|
2
assets/js/main.min.js
vendored
2
assets/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -4,10 +4,16 @@ permalink: /docs/history/
|
|||
excerpt: "Change log of enhancements and bug fixes made to the theme."
|
||||
sidebar:
|
||||
nav: docs
|
||||
last_modified_at: 2018-02-16T14:25:39-05:00
|
||||
last_modified_at: 2018-02-16T15:12:42-05:00
|
||||
toc: true
|
||||
---
|
||||
|
||||
## Unreleased
|
||||
|
||||
### Bug Fixes
|
||||
|
||||
* Focus Algolia search input after clicking on search toggle.
|
||||
|
||||
## [4.10.0](https://github.com/mmistakes/minimal-mistakes/releases/tag/4.10.0)
|
||||
|
||||
### Enhancements
|
||||
|
|
Loading…
Reference in a new issue