aboutsummaryrefslogtreecommitdiff
path: root/asset-sources
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2024-02-01 22:33:31 +0100
committerDaniel Schadt <kingdread@gmx.de>2024-02-01 22:33:31 +0100
commitaccc63b4f20da53caa0e5aa839c6fcfbb05dfad5 (patch)
treee10966ef89913c9d15aa83f6147350a1df6c55df /asset-sources
parent4930eb34dbd3ad239d835a3319afae6e4ac796ae (diff)
downloadfietsboek-accc63b4f20da53caa0e5aa839c6fcfbb05dfad5.tar.gz
fietsboek-accc63b4f20da53caa0e5aa839c6fcfbb05dfad5.tar.bz2
fietsboek-accc63b4f20da53caa0e5aa839c6fcfbb05dfad5.zip
remove superfluous console.log statements
Diffstat (limited to 'asset-sources')
-rw-r--r--asset-sources/fietsboek.ts2
1 files changed, 0 insertions, 2 deletions
diff --git a/asset-sources/fietsboek.ts b/asset-sources/fietsboek.ts
index 296d9c0..b76b98b 100644
--- a/asset-sources/fietsboek.ts
+++ b/asset-sources/fietsboek.ts
@@ -246,7 +246,6 @@ addHandler(".remove-friend-button", "click", removeFriendClicked);
* @param event - The triggering event.
*/
function imageSelectorChanged(event: Event) {
- console.log(event);
const target = event.target as HTMLInputElement;
for (const file of Array.from(target.files ?? [])) {
window.fietsboekImageIndex++;
@@ -288,7 +287,6 @@ addHandler("#imageSelector", "change", imageSelectorChanged);
*/
function deleteImageButtonClicked(event: MouseEvent) {
const preview = (event.target as HTMLElement).closest("div.track-image-preview")!;
- console.log(preview);
/* If this was a image yet to be uploaded, simply remove it */
const input = preview.querySelector("input[type=file]");
if (input) {