Skip to content
This repository has been archived by the owner on Oct 3, 2022. It is now read-only.

V6 #1325

Open
wants to merge 17 commits into
base: v6
Choose a base branch
from
Open

V6 #1325

Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Banish webp posters without breaking firefox
  • Loading branch information
zkm2 committed Mar 26, 2023
commit f54e742b28e8c1e741632a063e88944cce63e846
2 changes: 1 addition & 1 deletion client/posts/posting/drop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ async function onDrop(e: DragEvent) {
}

let file: File;
if (files.length && !url) {
if (files.length && !url.startsWith('http')) {
file = files[0];
} else if (url) {
// Fetch file from link
Expand Down