summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2017-03-01 10:52:32 -0500
committerRobert Speicher <rspeicher@gmail.com>2017-03-01 10:52:32 -0500
commit9174d2e75c6bca531fa0de565d0a24b4a24b79d1 (patch)
treec23c64c5bb3568f72ce3f53ea6bc4c037bacae3c
parentf2c5e9a00fc3415de8deee214d11271c86cf4e5e (diff)
downloadgitlab-ce-rs-issue-28647.tar.gz
Fix ES6 interpolation in GitLabCrop classrs-issue-28647
-rw-r--r--app/assets/javascripts/profile/gl_crop.js.es62
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/profile/gl_crop.js.es6 b/app/assets/javascripts/profile/gl_crop.js.es6
index 42e9847af91..192b1192d07 100644
--- a/app/assets/javascripts/profile/gl_crop.js.es6
+++ b/app/assets/javascripts/profile/gl_crop.js.es6
@@ -13,7 +13,7 @@
this.onPickImageClick = this.onPickImageClick.bind(this);
this.fileInput = $(input);
this.modalCropImg = _.isString(this.modalCropImg) ? $(this.modalCropImg) : this.modalCropImg;
- this.fileInput.attr('name', `${this.fileInput.attr('name')}-trigger`).attr('id', `this.fileInput.attr('id')-trigger`);
+ this.fileInput.attr('name', `${this.fileInput.attr('name')}-trigger`).attr('id', `${this.fileInput.attr('id')}-trigger`);
this.exportWidth = exportWidth;
this.exportHeight = exportHeight;
this.cropBoxWidth = cropBoxWidth;