Remove console.log statements
This commit is contained in:
@@ -229,7 +229,6 @@
|
||||
|
||||
function abortChat(){
|
||||
if(abortController){
|
||||
console.log('abort')
|
||||
abortController.abort()
|
||||
}
|
||||
}
|
||||
@@ -290,8 +289,6 @@
|
||||
const lastMessageInputTranslate = messageInputTranslate
|
||||
await sleep(1500)
|
||||
if(lastMessageInputTranslate === messageInputTranslate){
|
||||
console.log(lastMessageInputTranslate === messageInputTranslate)
|
||||
console.log(lastMessageInputTranslate, messageInputTranslate)
|
||||
translate(reverse ? messageInputTranslate : messageInput, reverse).then((translatedMessage) => {
|
||||
if(translatedMessage){
|
||||
if(reverse)
|
||||
|
||||
@@ -25,15 +25,10 @@
|
||||
btn.focus()
|
||||
}
|
||||
if($alertStore.type !== 'input'){
|
||||
console.log('reset input')
|
||||
input = ''
|
||||
}
|
||||
|
||||
})()
|
||||
|
||||
alertStore.subscribe(() => {
|
||||
console.log('alup')
|
||||
})
|
||||
</script>
|
||||
|
||||
<svelte:window on:message={async (e) => {
|
||||
|
||||
@@ -22,7 +22,6 @@
|
||||
<svelte:window on:message={async (e) => {
|
||||
if(e.origin.startsWith("https://sv.risuai.xyz") || e.origin.startsWith("http://127.0.0.1")){
|
||||
if(e.data.msg.type === 'drive'){
|
||||
console.log(e.data.msg)
|
||||
await loadRisuAccountData()
|
||||
$DataBase.account.data.refresh_token = e.data.msg.data.refresh_token
|
||||
$DataBase.account.data.access_token = e.data.msg.data.access_token
|
||||
|
||||
@@ -60,7 +60,6 @@
|
||||
if(d){
|
||||
changeToPreset(0)
|
||||
let botPresets = $DataBase.botPresets
|
||||
console.log(botPresets)
|
||||
botPresets.splice(i, 1)
|
||||
$DataBase.botPresets = botPresets
|
||||
changeToPreset(0, false)
|
||||
|
||||
@@ -89,7 +89,6 @@
|
||||
return
|
||||
}
|
||||
if((!currentChar) || (!isEqual(currentChar.data, cha))){
|
||||
console.log("updated")
|
||||
if(cha.type === 'character'){
|
||||
currentChar = {
|
||||
type: 'character',
|
||||
@@ -754,7 +753,6 @@
|
||||
return
|
||||
}
|
||||
for(const f of da){
|
||||
console.log(f)
|
||||
const img = f.data
|
||||
const name = f.name
|
||||
const extension = name.split('.').pop().toLowerCase()
|
||||
|
||||
Reference in New Issue
Block a user