Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-06-19 23:29:46 +0300
committerEric Eastwood <contact@ericeastwood.com>2017-06-19 23:29:46 +0300
commit84e23ae06c3b42ec2da8a8967820b24ce7566ff8 (patch)
tree6aa1c8c573b72255ce14d664af52eb819af86dbf /app
parente4eeba4e4b33c327d5c95a48103ab5781d15c77c (diff)
Fix issue description syntax highlighting and math rendering
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')
-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