tangled
alpha
login
or
join now
moth11.net
/
xcvr
2
fork
atom
frontend for xcvr appview
2
fork
atom
overview
issues
pulls
pipelines
this could be it
moth11.net
4 months ago
59d1048b
8b848246
+4
-3
1 changed file
expand all
collapse all
unified
split
src
lib
wscontext.svelte.ts
+4
-3
src/lib/wscontext.svelte.ts
···
207
207
this.mediaactive = false
208
208
}
209
209
}
210
210
+
210
211
cancelImage = () => {
211
212
if (this.mediaactive) {
212
213
pubImage(undefined, undefined, this)
213
214
this.myMedia = undefined
214
215
this.mediaactive = false
215
216
}
216
216
-
217
217
}
218
218
219
219
initImage = (blob: File) => {
···
232
232
response.json().then((atpblob) => {
233
233
if (this.myMedia) {
234
234
this.myMedia.atpblob = atpblob
235
235
+
} else {
236
236
+
console.error("i don't have a media at the time of recieve atblob: ", atpblob)
235
237
}
236
236
-
}
237
237
-
)
238
238
+
})
238
239
} else {
239
240
throw new Error(`HTTP ${response.status}`)
240
241
}