mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Fix inability to paste links (#36896)
This commit is contained in:
@@ -29,7 +29,6 @@ const processPasteOrDrop = (transfer, e, dispatch) => {
|
|||||||
try {
|
try {
|
||||||
const url = new URL(data);
|
const url = new URL(data);
|
||||||
dispatch(pasteLinkCompose({ url }));
|
dispatch(pasteLinkCompose({ url }));
|
||||||
e.preventDefault();
|
|
||||||
} catch {
|
} catch {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user