Differences From
Artifact [6612ae670c]:
38 38 document.getElementById('pin').onblur = function() {
39 39 setTimeout(function() {
40 40 if (document.activeElement.className != "button") {
41 41 focusPin();
42 42 }
43 43 }, 1);
44 44 }
45 +
46 + document.getElementById('pin').onkeypress = function(keyEvent) {
47 + if (!keyEvent) {
48 + return(true);
49 + }
50 +
51 + if (!keyEvent.keyIdentifier) {
52 + return(true);
53 + }
54 +
55 + if (keyEvent.keyIdentifier != "Enter") {
56 + return(true);
57 + }
58 +
59 + clickOk();
60 +
61 + return(false);
62 + };
45 63 }, 1);