mirror of
https://github.com/mastodon/mastodon.git
synced 2025-11-29 19:03:41 +00:00
Fix inability to paste links
This commit is contained in:
parent
ebc99cd597
commit
96ae996977
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user