Skip to content

Commit 4f2feed

Browse files
committed
Update Sudoku.js
1 parent 03a25bd commit 4f2feed

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Sudoku.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,10 +535,11 @@ window.onload = function() {
535535
currentCell.candidatesElement.classList.add("candidates");
536536

537537
currentInput = currentCell.element.appendChild(document.createElement("input"));
538-
currentInput.type = "text";
539538

540539
if (/android|webos|iphone|ipad|ipod|blackberry/i.test(navigator.userAgent.toLowerCase())) {
541540
currentInput.type = "tel";
541+
} else {
542+
currentInput.type = "text";
542543
}
543544

544545
currentInput.tabIndex = tabIndex;
@@ -577,4 +578,4 @@ window.onload = function() {
577578
cells.blankCellColor = "black";
578579
updatePencilmarks();
579580

580-
};
581+
};

0 commit comments

Comments
 (0)