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
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-04-01 18:07:45 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-04-01 18:07:45 +0300
commit1219a9dce91f4edbc135dfc08299b4122b4825a8 (patch)
treee7d12a55d75a2d56e60d9527bef3724e3578866d /app/assets/javascripts/pages
parent1a0d6dbdc2ac3047f4953a359ef27ba6e26074ae (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r--app/assets/javascripts/pages/static_site_editor/index.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/static_site_editor/index.js b/app/assets/javascripts/pages/static_site_editor/index.js
new file mode 100644
index 00000000000..8f808dae56c
--- /dev/null
+++ b/app/assets/javascripts/pages/static_site_editor/index.js
@@ -0,0 +1,5 @@
+import initStaticSiteEditor from '~/static_site_editor';
+
+window.addEventListener('DOMContentLoaded', () => {
+ initStaticSiteEditor(document.querySelector('#static-site-editor'));
+});