summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2018-02-02 16:50:24 -0600
committerMike Greiling <mike@pixelcog.com>2018-02-16 12:47:22 -0600
commitbe6bd83b4cb001ebe59c2b62f59faacc585e4fc7 (patch)
tree9b1bd901f003fb97babdfd8e4f0547aa9d01fdf1 /app/assets/javascripts/pages
parent8c92330c5074ad2cc723a9bbd56d80d44b52afd9 (diff)
downloadgitlab-ce-be6bd83b4cb001ebe59c2b62f59faacc585e4fc7.tar.gz
migrate projects:branches:index to static bundle
Diffstat (limited to 'app/assets/javascripts/pages')
-rw-r--r--app/assets/javascripts/pages/projects/branches/index/index.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/pages/projects/branches/index/index.js b/app/assets/javascripts/pages/projects/branches/index/index.js
index cee0f19bf2a..8fa266a37ce 100644
--- a/app/assets/javascripts/pages/projects/branches/index/index.js
+++ b/app/assets/javascripts/pages/projects/branches/index/index.js
@@ -1,7 +1,7 @@
import AjaxLoadingSpinner from '~/ajax_loading_spinner';
import DeleteModal from '~/branches/branches_delete_modal';
-export default () => {
+document.addEventListener('DOMContentLoaded', () => {
AjaxLoadingSpinner.init();
new DeleteModal(); // eslint-disable-line no-new
-};
+});