Skip to content

Commit

Permalink
Fixed file upload overlay not showing up on Edge (mattermost#3600)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmhealey committed Jul 15, 2016
1 parent b64e525 commit f22ff9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -1297,7 +1297,7 @@ export function fillArray(value, length) {
// Checks if a data transfer contains files not text, folders, etc..
// Slightly modified from http:https://stackoverflow.com/questions/6848043/how-do-i-detect-a-file-is-being-dragged-rather-than-a-draggable-element-on-my-pa
export function isFileTransfer(files) {
if (isBrowserIE()) {
if (isBrowserIE() || isBrowserEdge()) {
return files.types != null && files.types.contains('Files');
}

Expand Down

0 comments on commit f22ff9d

Please sign in to comment.