mirror of
https://github.com/go-gitea/gitea
synced 2025-01-11 18:24:27 +00:00
Fix an issue introduced by cc8e7dd355c9c625b895a1b633a3a7fa5016f718 Signed-off-by: Gary Kim <gary@garykim.dev>
This commit is contained in:
parent
cc8e7dd355
commit
ba19a35b6b
@ -11,7 +11,9 @@ var csrf;
|
|||||||
var suburl;
|
var suburl;
|
||||||
|
|
||||||
// Disable Dropzone auto-discover because it's manually initialized
|
// 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)
|
// Polyfill for IE9+ support (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/from)
|
||||||
if (!Array.from) {
|
if (!Array.from) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user