summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-07-15 11:20:29 -0400
committerGitHub <noreply@github.com>2016-07-15 11:20:29 -0400
commitb339b5c982a336abcc0a1f1bc9ba68e447472228 (patch)
treee6987400d7ef46809ef5583ec861e02855c59ab9
parentb6c4d8468500b3a9186dfc27abd4849c8cd8ba76 (diff)
downloadchat-b339b5c982a336abcc0a1f1bc9ba68e447472228.tar.gz
chat-b339b5c982a336abcc0a1f1bc9ba68e447472228.tar.bz2
chat-b339b5c982a336abcc0a1f1bc9ba68e447472228.zip
Fixed file upload overlay not showing up on Edge (#3600)
-rw-r--r--webapp/utils/utils.jsx2
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');
}