diff options
Diffstat (limited to 'app/assets/javascripts/repository/components/preview/index.vue')
-rw-r--r-- | app/assets/javascripts/repository/components/preview/index.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/assets/javascripts/repository/components/preview/index.vue b/app/assets/javascripts/repository/components/preview/index.vue index 78ae719ba0d..99f100eaa60 100644 --- a/app/assets/javascripts/repository/components/preview/index.vue +++ b/app/assets/javascripts/repository/components/preview/index.vue @@ -2,6 +2,7 @@ import $ from 'jquery'; import '~/behaviors/markdown/render_gfm'; import { GlLink, GlLoadingIcon } from '@gitlab/ui'; +import { handleLocationHash } from '~/lib/utils/common_utils'; import getReadmeQuery from '../../queries/getReadme.query.graphql'; export default { @@ -36,6 +37,7 @@ export default { readme(newVal) { if (newVal) { this.$nextTick(() => { + handleLocationHash(); $(this.$refs.readme).renderGFM(); }); } |