diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects/snippets/show/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/snippets/show/index.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/projects/snippets/show/index.js b/app/assets/javascripts/pages/projects/snippets/show/index.js index d8fbb851ffb..e49d46ea97b 100644 --- a/app/assets/javascripts/pages/projects/snippets/show/index.js +++ b/app/assets/javascripts/pages/projects/snippets/show/index.js @@ -3,7 +3,7 @@ import ZenMode from '~/zen_mode'; import LineHighlighter from '~/line_highlighter'; import BlobViewer from '~/blob/viewer'; import snippetEmbed from '~/snippet/snippet_embed'; -import initSnippetsApp from '~/snippets'; +import { SnippetShowInit } from '~/snippets'; document.addEventListener('DOMContentLoaded', () => { if (!gon.features.snippetsVue) { @@ -13,7 +13,7 @@ document.addEventListener('DOMContentLoaded', () => { new ZenMode(); // eslint-disable-line no-new snippetEmbed(); } else { - initSnippetsApp(); + SnippetShowInit(); initNotes(); } }); |