We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cc8e7dd commit ba19a35Copy full SHA for ba19a35
public/js/index.js
@@ -11,7 +11,9 @@ var csrf;
11
var suburl;
12
13
// Disable Dropzone auto-discover because it's manually initialized
14
-Dropzone.autoDiscover = false;
+if (typeof(Dropzone) !== "undefined") {
15
+ Dropzone.autoDiscover = false;
16
+}
17
18
// Polyfill for IE9+ support (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from)
19
if (!Array.from) {
0 commit comments