diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-02-16 22:09:52 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-02-17 22:23:31 +0100 |
commit | 4036fb167ddce47db8ad4d885000b2c9db96595d (patch) | |
tree | 0a8c911b3f6d175eb9531e79e558d594edea7a08 /app/assets/javascripts/dropzone_input.js.coffee | |
parent | 99fb4d387fbcddc56292b788a84b1e62d27765dd (diff) | |
download | gitlab-ce-4036fb167ddce47db8ad4d885000b2c9db96595d.tar.gz |
Change textarea upload hover icon from picture to paperclip.
Diffstat (limited to 'app/assets/javascripts/dropzone_input.js.coffee')
-rw-r--r-- | app/assets/javascripts/dropzone_input.js.coffee | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/dropzone_input.js.coffee b/app/assets/javascripts/dropzone_input.js.coffee index 2d9b496b132..06e9f0001ae 100644 --- a/app/assets/javascripts/dropzone_input.js.coffee +++ b/app/assets/javascripts/dropzone_input.js.coffee @@ -6,7 +6,7 @@ class @DropzoneInput divHover = "<div class=\"div-dropzone-hover\"></div>" divSpinner = "<div class=\"div-dropzone-spinner\"></div>" divAlert = "<div class=\"" + alertClass + "\"></div>" - iconPicture = "<i class=\"fa fa-picture-o div-dropzone-icon\"></i>" + iconPaperclip = "<i class=\"fa fa-paperclip div-dropzone-icon\"></i>" iconSpinner = "<i class=\"fa fa-spinner fa-spin div-dropzone-icon\"></i>" btnAlert = "<button type=\"button\"" + alertAttr + ">×</button>" project_uploads_path = window.project_uploads_path or null @@ -19,7 +19,7 @@ class @DropzoneInput form_dropzone = $(form).find('.div-dropzone') form_dropzone.parent().addClass "div-dropzone-wrapper" form_dropzone.append divHover - $(".div-dropzone-hover").append iconPicture + $(".div-dropzone-hover").append iconPaperclip form_dropzone.append divSpinner $(".div-dropzone-spinner").append iconSpinner $(".div-dropzone-spinner").css |