Skip to content

Commit

Permalink
minor fix (id of input box in js)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabianswebworld authored Nov 7, 2023
1 parent ac31b22 commit 603ccc3
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions js/ttxweb.js
Original file line number Diff line number Diff line change
@@ -142,8 +142,8 @@ function numberButtonPressed(number) {
var elem;
var oldValue;

if (document.getElementById("numPadInput")) {
elem = document.getElementById("numPadInput");
if (document.getElementById("ttxNumPadInput")) {
elem = document.getElementById("ttxNumPadInput");
} else {
elem = document.forms[0].page;
}
@@ -170,8 +170,8 @@ function checkNumPadInput(event) {
var elem;
var oldValue;

if (document.getElementById("numPadInput")) {
elem = document.getElementById("numPadInput");
if (document.getElementById("ttxNumPadInput")) {
elem = document.getElementById("ttxNumPadInput");
} else {
elem = document.forms[0].page;
}
@@ -200,8 +200,8 @@ function gotoPage() {

function setNumPadFocus() {
var elem;
if (document.getElementById("numPadInput")) {
elem = document.getElementById("numPadInput");
if (document.getElementById("ttxNumPadInput")) {
elem = document.getElementById("ttxNumPadInput");
} else {
elem = document.forms[0].page;
}

0 comments on commit 603ccc3

Please sign in to comment.