diff options
author | Harrison Healey <harrisonmhealey@gmail.com> | 2016-07-15 11:20:29 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-15 11:20:29 -0400 |
commit | b339b5c982a336abcc0a1f1bc9ba68e447472228 (patch) | |
tree | e6987400d7ef46809ef5583ec861e02855c59ab9 /webapp/utils/utils.jsx | |
parent | b6c4d8468500b3a9186dfc27abd4849c8cd8ba76 (diff) | |
download | chat-b339b5c982a336abcc0a1f1bc9ba68e447472228.tar.gz chat-b339b5c982a336abcc0a1f1bc9ba68e447472228.tar.bz2 chat-b339b5c982a336abcc0a1f1bc9ba68e447472228.zip |
Fixed file upload overlay not showing up on Edge (#3600)
Diffstat (limited to 'webapp/utils/utils.jsx')
-rw-r--r-- | webapp/utils/utils.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webapp/utils/utils.jsx b/webapp/utils/utils.jsx index c3e55a64f..907c01229 100644 --- a/webapp/utils/utils.jsx +++ b/webapp/utils/utils.jsx @@ -1297,7 +1297,7 @@ export function fillArray(value, length) { // Checks if a data transfer contains files not text, folders, etc.. // Slightly modified from http://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'); } |