Fix an issue with some pages throwing 'not defined' js exceptions #7450 (#7453)

Fix an issue introduced by cc8e7dd355

Signed-off-by: Gary Kim <gary@garykim.dev>
release/v1.9
Gary Kim 5 years ago committed by Lunny Xiao
parent cc8e7dd355
commit ba19a35b6b

@ -11,7 +11,9 @@ var csrf;
var suburl;
// Disable Dropzone auto-discover because it's manually initialized
Dropzone.autoDiscover = false;
if (typeof(Dropzone) !== "undefined") {
Dropzone.autoDiscover = false;
}
// Polyfill for IE9+ support (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from)
if (!Array.from) {

Loading…
Cancel
Save