Browse Source

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

Fix an issue introduced by 831288cc91

Signed-off-by: Gary Kim <gary@garykim.dev>
tags/v1.10.0-rc1
Gary Kim 4 years ago
parent
commit
50d8d171f0
1 changed files with 3 additions and 1 deletions
  1. 3
    1
      public/js/index.js

+ 3
- 1
public/js/index.js View File

@@ -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