diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2017-10-31 12:18:30 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-10-31 12:18:30 +0300 |
commit | 980f29716f86a261e28dbc69de157a53c3eadb42 (patch) | |
tree | 23dc99cb50b55ef3ff67d450daef4bc1942ad384 /app/assets/javascripts/notes | |
parent | 6e6cea23e187b6c93886da4d043ea5a6fb7bfab5 (diff) |
Resolve "Convert autosize.js library to be a Yarn managed library"
Diffstat (limited to 'app/assets/javascripts/notes')
-rw-r--r-- | app/assets/javascripts/notes/components/issue_comment_form.vue | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/notes/components/issue_comment_form.vue b/app/assets/javascripts/notes/components/issue_comment_form.vue index ad384a1cc36..db8f85759b2 100644 --- a/app/assets/javascripts/notes/components/issue_comment_form.vue +++ b/app/assets/javascripts/notes/components/issue_comment_form.vue @@ -1,7 +1,7 @@ <script> import { mapActions, mapGetters } from 'vuex'; import _ from 'underscore'; - import autosize from 'vendor/autosize'; + import Autosize from 'autosize'; import Flash from '../../flash'; import Autosave from '../../autosave'; import TaskList from '../../task_list'; @@ -219,7 +219,7 @@ }, resizeTextarea() { this.$nextTick(() => { - autosize.update(this.$refs.textarea); + Autosize.update(this.$refs.textarea); }); }, }, |