first commit

This commit is contained in:
CHIEFSOFT\ameye
2024-01-25 13:06:29 -05:00
commit 346346573f
1362 changed files with 343729 additions and 0 deletions
@@ -0,0 +1,28 @@
/*
Template Name: Toner eCommerce + Admin HTML Template
Author: Themesbrand
Website: https://Themesbrand.com/
Contact: Themesbrand@gmail.com
File: Two step verification Init Js File
*/
// move next
function getInputElement(index) {
return document.getElementById('digit' + index + '-input');
}
function moveToNext(index, event) {
const eventCode = event.which || event.keyCode;
if (getInputElement(index).value.length === 1) {
if (index !== 4) {
getInputElement(index + 1).focus();
} else {
getInputElement(index).blur();
// Submit code
console.log('submit code');
}
}
if (eventCode === 8 && index !== 1) {
getInputElement(index - 1).focus();
}
}