citation-file-format / cff-initializer-javascript

Web form to initialize CITATION.cff files.
https://citation-file-format.github.io/cff-initializer-javascript/
Apache License 2.0
21 stars 8 forks source link

Reset focus after route change #770

Closed abelsiqueira closed 2 years ago

abelsiqueira commented 2 years ago

Pull request details

As a contributor I confirm

List of related issues or pull requests

Refs:

Describe the changes made in this pull request

Reset focus when changing routes. This simulates a normal link click. This is relevant for the next/previous buttons.

Instructions to review the pull request

github-actions[bot] commented 2 years ago

Once the build has completed, you can preview your PR at this URL: https://cffinit.netlify.app/PR770/

codecov-commenter commented 2 years ago

Codecov Report

Merging #770 (b26e702) into main (0a570ae) will decrease coverage by 0.07%. The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #770      +/-   ##
==========================================
- Coverage   17.42%   17.34%   -0.08%     
==========================================
  Files          35       35              
  Lines         660      663       +3     
  Branches       70       70              
==========================================
  Hits          115      115              
- Misses        545      548       +3     
Impacted Files Coverage Δ
src/router/index.ts 0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more