refactor: remove console.log

This commit is contained in:
EL-R1 2023-06-21 18:47:05 +02:00
parent 7c488e318f
commit 2519bb1122

View file

@ -267,7 +267,7 @@ function addZones(segmentId) {
} }
function selectDigit(digit, p) { function selectDigit(digit) {
if (selectedDigits.length <= 5) { if (selectedDigits.length <= 5) {
const emptyInputField = getEmptyInputField(); const emptyInputField = getEmptyInputField();
if (emptyInputField) { if (emptyInputField) {
@ -278,10 +278,8 @@ function selectDigit(digit, p) {
if (selectedDigits.length >= 5) { if (selectedDigits.length >= 5) {
var code = selectedDigits.join(''); var code = selectedDigits.join('');
if (code == "20541"){ if (code == "20541"){
console.log(p)
choice(0); choice(0);
} else{ } else{
console.log(p)
choice(1); choice(1);
} }
} }