Skip to content

Commit b9b93ea

Browse files
committed
ignore safari and Edge
1 parent f5fd6b9 commit b9b93ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • app/javascript/mastodon/features/ui

app/javascript/mastodon/features/ui/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ class UI extends React.PureComponent {
269269
e.preventDefault();
270270
e.stopPropagation();
271271

272-
if (e.relatedTarget === null) {
272+
if (e.relatedTarget === null && e.fromElement !== null) {
273273
this.setState({ draggingOver: false });
274274
return;
275275
}

0 commit comments

Comments
 (0)