Skip to content

Commit

Permalink
Merge pull request #14 from revolter/feature/textarea-focus-navigatin…
Browse files Browse the repository at this point in the history
…g-history

Added textarea focusing when navigating in the history
  • Loading branch information
revolter authored Jun 22, 2024
2 parents 25adb50 + 78f890f commit 52f27b2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@
function addURLHashListener(textarea, markdownPreview) {
window.addEventListener('hashchange', () => {
loadValue(textarea, markdownPreview);
textarea.focus();
});
}

Expand Down

0 comments on commit 52f27b2

Please sign in to comment.