diff options
Diffstat (limited to 'app/assets/javascripts/pages/projects/static_site_editor/show/index.js')
-rw-r--r-- | app/assets/javascripts/pages/projects/static_site_editor/show/index.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/projects/static_site_editor/show/index.js b/app/assets/javascripts/pages/projects/static_site_editor/show/index.js new file mode 100644 index 00000000000..8f808dae56c --- /dev/null +++ b/app/assets/javascripts/pages/projects/static_site_editor/show/index.js @@ -0,0 +1,5 @@ +import initStaticSiteEditor from '~/static_site_editor'; + +window.addEventListener('DOMContentLoaded', () => { + initStaticSiteEditor(document.querySelector('#static-site-editor')); +}); |