summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pages/dashboard/activity/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/assets/javascripts/pages/dashboard/activity/index.js')
-rw-r--r--app/assets/javascripts/pages/dashboard/activity/index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/assets/javascripts/pages/dashboard/activity/index.js b/app/assets/javascripts/pages/dashboard/activity/index.js
index 1b887cad496..8b7c36a0976 100644
--- a/app/assets/javascripts/pages/dashboard/activity/index.js
+++ b/app/assets/javascripts/pages/dashboard/activity/index.js
@@ -1,3 +1,4 @@
import Activities from '~/activities';
-document.addEventListener('DOMContentLoaded', () => new Activities());
+// eslint-disable-next-line no-new
+new Activities();