diff --git a/wwwroot/js/site.js b/wwwroot/js/site.js index 70d009f..6aa913e 100644 --- a/wwwroot/js/site.js +++ b/wwwroot/js/site.js @@ -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);