summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/blob
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2017-12-19 10:12:32 +0000
committerPhil Hughes <me@iamphill.com>2018-01-10 11:07:42 +0000
commitff0f74ac6e30ee789560012908f45a7fac9197e4 (patch)
tree70f6f4d4b9f85d65d233599fbe4bcdcf6645243f /app/assets/javascripts/blob
parentbe623ef3c1a867d23e9625fe372c17fcad3c47ce (diff)
downloadgitlab-ce-ff0f74ac6e30ee789560012908f45a7fac9197e4.tar.gz
Tidy up main JS filemain-js-tidy-up
Diffstat (limited to 'app/assets/javascripts/blob')
-rw-r--r--app/assets/javascripts/blob/blob_file_dropzone.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/blob/blob_file_dropzone.js b/app/assets/javascripts/blob/blob_file_dropzone.js
index f7ae6f1cd12..83cac896f86 100644
--- a/app/assets/javascripts/blob/blob_file_dropzone.js
+++ b/app/assets/javascripts/blob/blob_file_dropzone.js
@@ -4,6 +4,8 @@ import { visitUrl } from '../lib/utils/url_utility';
import { HIDDEN_CLASS } from '../lib/utils/constants';
import csrf from '../lib/utils/csrf';
+Dropzone.autoDiscover = false;
+
function toggleLoading($el, $icon, loading) {
if (loading) {
$el.disable();