This website works better with JavaScript.
Home
Explore
Help
Sign In
jyt94
/
closedSocialMastodon
forked from
closed-social/mastodon
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix drag & drop overlay not appearing on firefox (
#1721
)
closed-social-v3
Eugen
7 years ago
committed by
GitHub
parent
485310a43c
commit
c5afe573da
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/assets/javascripts/components/features/ui/index.jsx
+ 1
- 1
app/assets/javascripts/components/features/ui/index.jsx
View File
@ -47,7 +47,7 @@ const UI = React.createClass({
this
.
dragTargets
.
push
(
e
.
target
)
;
}
if
(
e
.
dataTransfer
&&
e
.
dataTransfer
.
file
s
.
length
>
0
)
{
if
(
e
.
dataTransfer
&&
e
.
dataTransfer
.
item
s
.
length
>
0
)
{
this
.
setState
(
{
draggingOver
:
true
}
)
;
}
}
,
Write
Preview
Loading…
Cancel
Save