two console.log translated to console.error statement

This commit is contained in:
mic 2024-08-16 14:28:07 +02:00
parent ab0a9c5d10
commit 376b2acf4e

View file

@ -39,7 +39,7 @@ function saveOptions(e) {
if (element.tagName === 'SELECT') { if (element.tagName === 'SELECT') {
options[element.id] = element.value; options[element.id] = element.value;
}else{ }else{
console.log('[ThunderAI] Unhandled input type:', element.type); console.error("[ThunderAI] Unhandled input type:", element.type);
} }
} }
@ -75,7 +75,7 @@ async function restoreOptions() {
element.selectedIndex = -1; element.selectedIndex = -1;
} }
}else{ }else{
console.log('[ThunderAI] Unhandled input type:', element.type); console.error("[ThunderAI] Unhandled input type:", element.type);
} }
} }
}); });