Skip to content

Commit

Permalink
Merge pull request #120 from Stivo182/fix/web
Browse files Browse the repository at this point in the history
Исправления поведения в веб-приложении
  • Loading branch information
alei1180 authored Jan 12, 2025
2 parents c54a938 + 9c382c8 commit e949940
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/interface/view/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -230,6 +230,7 @@
}

#warnings, #errors {
width:25em;
font-size: 1.5em;
padding:30px 45px;
}
Expand Down Expand Up @@ -329,7 +330,6 @@

function enableRequests(){
setRequestsPermission(true);
convertInput.focus();
}

function setRequestsPermission(isEnable){
Expand All @@ -351,7 +351,7 @@
copyToClipboard(outputText);
});

convertInput.addEventListener("keyup", function (e){
document.addEventListener("keyup", function (e){
if (e.keyCode == 13 && e.ctrlKey){
convertButton.click();
}
Expand Down

0 comments on commit e949940

Please sign in to comment.