set focus on load

This commit is contained in:
Ryan Peters 2023-01-31 09:35:36 -05:00
parent 0675b567e4
commit 63629ce7f8

View File

@ -44,6 +44,9 @@ $(function () {
const $textarea = $('textarea');
// set focus on load
$textarea.focus();
// update content upon sync save
connection.on('updateNote', function (content) {
$textarea.val(content);