diff options
author | Robert Speicher <rspeicher@gmail.com> | 2017-03-01 10:52:32 -0500 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2017-03-01 10:52:32 -0500 |
commit | 9174d2e75c6bca531fa0de565d0a24b4a24b79d1 (patch) | |
tree | c23c64c5bb3568f72ce3f53ea6bc4c037bacae3c /app/assets/javascripts/profile | |
parent | f2c5e9a00fc3415de8deee214d11271c86cf4e5e (diff) | |
download | gitlab-ce-9174d2e75c6bca531fa0de565d0a24b4a24b79d1.tar.gz |
Fix ES6 interpolation in GitLabCrop classrs-issue-28647
Diffstat (limited to 'app/assets/javascripts/profile')
-rw-r--r-- | app/assets/javascripts/profile/gl_crop.js.es6 | 2 |
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; |