Skip to content

Commit

Permalink
yer makin him lose his focus
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse-Hufstetler committed Sep 4, 2024
1 parent 4bce4d1 commit 74b4955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ToDoDynalistApp.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
function redrawGrid() {
var newInnerHtml = `<table style="width: 100%">`;
newInnerHtml += `<tr>`;
newInnerHtml += `<td colspan="4"><input type="text" style="width: 100%; box-sizing: border-box;" onkeypress="inputKeypress(this)"/></td>`;
newInnerHtml += `<td colspan="4"><input id="addyBox" type="text" style="width: 100%; box-sizing: border-box;" onkeypress="inputKeypress(this)"/></td>`;
newInnerHtml += `</tr>`;
var nowStamp = new Date().getTime();
for (const toDo of toDos) {
Expand All @@ -138,6 +138,7 @@
}
newInnerHtml += `</table>`;
document.getElementById("output").innerHTML = newInnerHtml;
document.getElementById("addyBox").focus();
}
/////////////////////////////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////////////////////////////
Expand Down

0 comments on commit 74b4955

Please sign in to comment.