set focus on load
This commit is contained in:
parent
0675b567e4
commit
63629ce7f8
@ -44,6 +44,9 @@ $(function () {
|
|||||||
|
|
||||||
const $textarea = $('textarea');
|
const $textarea = $('textarea');
|
||||||
|
|
||||||
|
// set focus on load
|
||||||
|
$textarea.focus();
|
||||||
|
|
||||||
// update content upon sync save
|
// update content upon sync save
|
||||||
connection.on('updateNote', function (content) {
|
connection.on('updateNote', function (content) {
|
||||||
$textarea.val(content);
|
$textarea.val(content);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user