forked from rDrama/rDrama
1
0
Fork 0

use console.error instead of console.log in bottom.js

master
Aevann 2023-02-21 20:29:32 +02:00
parent e652a9bfd0
commit d649801cc7
1 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
function execute(element, attr) {
if (element.dataset.nonce != nonce) {
console.log("Nonce check failed!")
console.error("Nonce check failed!")
return
}
const funcs = element.getAttribute(`data-${attr}`).split(';')
@ -15,8 +15,8 @@ function execute(element, attr) {
window[name](...args);
}
catch (e) {
console.log(e)
console.log(name)
console.error(e)
console.error(name)
}
}
}