From b339b5c982a336abcc0a1f1bc9ba68e447472228 Mon Sep 17 00:00:00 2001
From: Harrison Healey <harrisonmhealey@gmail.com>
Date: Fri, 15 Jul 2016 11:20:29 -0400
Subject: Fixed file upload overlay not showing up on Edge (#3600)

---
 webapp/utils/utils.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'webapp/utils/utils.jsx')

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');
     }
 
-- 
cgit v1.2.3-1-g7c22

