Skip to content

Commit

Permalink
使輸入框也支持自動跳轉
Browse files Browse the repository at this point in the history
  • Loading branch information
anosanstudio committed Mar 18, 2023
1 parent 6ca00e4 commit c90f774
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -416,12 +416,15 @@ document.getElementById("subtainer").addEventListener('dblclick', function (e) {
removeInputAndBtn();
subTexts[SubSequence] = input.value + '\n';
MakeSub(currentStamping);
autoJump();
updateContent();
}
}

function PressBtn() {
removeInputAndBtn();
autoJump();
updateContent();
}

function removeInputAndBtn() {
Expand Down

0 comments on commit c90f774

Please sign in to comment.