summaryrefslogtreecommitdiff
path: root/app/assets
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-03-16 16:51:03 +0000
committerPhil Hughes <me@iamphill.com>2018-03-16 16:51:03 +0000
commit1c74f5595f254e2eaeaa9c9fe237832726d56632 (patch)
tree04e0fb07ec7913b45edf061631ec5de9a266ff78 /app/assets
parent78fb81e68676fb526e09cadac36045d9cf85e860 (diff)
downloadgitlab-ce-profile-notifications-dropdown-fix.tar.gz
Fixed profile notifications not being editableprofile-notifications-dropdown-fix
Closes #44198
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/pages/profiles/notifications/show/index.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/app/assets/javascripts/pages/profiles/notifications/show/index.js b/app/assets/javascripts/pages/profiles/notifications/show/index.js
new file mode 100644
index 00000000000..2e24a10fa5c
--- /dev/null
+++ b/app/assets/javascripts/pages/profiles/notifications/show/index.js
@@ -0,0 +1,7 @@
+import NotificationsForm from '../../../../notifications_form';
+import notificationsDropdown from '../../../../notifications_dropdown';
+
+document.addEventListener('DOMContentLoaded', () => {
+ new NotificationsForm(); // eslint-disable-line no-new
+ notificationsDropdown();
+});