diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-02-02 16:22:26 -0600 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-02-16 12:45:49 -0600 |
commit | e95d4822960c6541bb429479853b8232aa669335 (patch) | |
tree | 462e902b18b9d867f69c883ccfd8cbe23feee185 /app/assets/javascripts/pages/admin | |
parent | 96feb536e426e9f1f54fa14f50cab9f2a78754be (diff) | |
download | gitlab-ce-e95d4822960c6541bb429479853b8232aa669335.tar.gz |
migrate admin:jobs:index to static bundle
Diffstat (limited to 'app/assets/javascripts/pages/admin')
-rw-r--r-- | app/assets/javascripts/pages/admin/jobs/index/index.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/admin/jobs/index/index.js b/app/assets/javascripts/pages/admin/jobs/index/index.js index 31d58eabaaf..5a4f8c6e745 100644 --- a/app/assets/javascripts/pages/admin/jobs/index/index.js +++ b/app/assets/javascripts/pages/admin/jobs/index/index.js @@ -1,12 +1,10 @@ import Vue from 'vue'; - import Translate from '~/vue_shared/translate'; - import stopJobsModal from './components/stop_jobs_modal.vue'; Vue.use(Translate); -export default () => { +document.addEventListener('DOMContentLoaded', () => { const stopJobsButton = document.getElementById('stop-jobs-button'); if (stopJobsButton) { // eslint-disable-next-line no-new @@ -27,4 +25,4 @@ export default () => { }, }); } -}; +}); |