summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/issue_show
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-06-19 15:29:46 -0500
committerEric Eastwood <contact@ericeastwood.com>2017-06-19 15:29:46 -0500
commit84e23ae06c3b42ec2da8a8967820b24ce7566ff8 (patch)
tree6aa1c8c573b72255ce14d664af52eb819af86dbf /app/assets/javascripts/issue_show
parente4eeba4e4b33c327d5c95a48103ab5781d15c77c (diff)
downloadgitlab-ce-84e23ae06c3b42ec2da8a8967820b24ce7566ff8.tar.gz
Fix issue description syntax highlighting and math rendering33877-fix-issue-description-highlight-and-math
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/33877 Regressed in https://gitlab.com/gitlab-org/gitlab-ce/commit/5a95d6f8dae00b31b694759c6ddbf6d83b1a7890#3a15290e7696397415523e0b664aceb3dd4010ae_0_46 where the ref no longer matches what we call `renderGFM` on.
Diffstat (limited to 'app/assets/javascripts/issue_show')
-rw-r--r--app/assets/javascripts/issue_show/components/description.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/issue_show/components/description.vue b/app/assets/javascripts/issue_show/components/description.vue
index 5ae617356e0..bb95ff0101b 100644
--- a/app/assets/javascripts/issue_show/components/description.vue
+++ b/app/assets/javascripts/issue_show/components/description.vue
@@ -53,7 +53,7 @@
},
methods: {
renderGFM() {
- $(this.$refs['gfm-entry-content']).renderGFM();
+ $(this.$refs['gfm-content']).renderGFM();
if (this.canUpdate) {
// eslint-disable-next-line no-new