From 63629ce7f87aa934be0de8f489996876d592d035 Mon Sep 17 00:00:00 2001 From: Ryan Peters Date: Tue, 31 Jan 2023 09:35:36 -0500 Subject: [PATCH] set focus on load --- wwwroot/js/site.js | 3 +++ 1 file changed, 3 insertions(+) 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);