Add condition to allow folder upload

This commit is contained in:
ClemDee committed 2019-07-18 16:11:19 +02:00
1 parent 5c5a6b963d
commit 438ff211e1
1 file changed
+1 -1
+1 -1
View File
@@ -45,7 +45,7 @@ define([
editable: false, editable: false,
mobile: function () { return $('body').width() <= 600; }, // Menu and content area are not inline-block anymore for mobiles mobile: function () { return $('body').width() <= 600; }, // Menu and content area are not inline-block anymore for mobiles
isMac: navigator.platform === "MacIntel", isMac: navigator.platform === "MacIntel",
allowFolderUpload: true, allowFolderUpload: File.prototype.hasOwnProperty("webkitRelativePath"),
}; };
var stringify = function (obj) { var stringify = function (obj) {