From 05f0ebba3a2c8ddf39e436f412dc2ab5bf1353b2 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 18 Jan 2023 19:00:14 +0000 Subject: Add latest changes from gitlab-org/gitlab@15-8-stable-ee --- app/assets/javascripts/profile/profile.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'app/assets/javascripts/profile/profile.js') diff --git a/app/assets/javascripts/profile/profile.js b/app/assets/javascripts/profile/profile.js index 93bc203d391..c031c5e5e8e 100644 --- a/app/assets/javascripts/profile/profile.js +++ b/app/assets/javascripts/profile/profile.js @@ -30,10 +30,6 @@ export default class Profile { bindEvents() { $('.js-preferences-form').on('change.preference', 'input[type=radio]', this.submitForm); - $('.js-group-notification-email').on('change', this.submitForm); - $('#user_notification_email').on('select2-selecting', (event) => { - setTimeout(this.submitForm.bind(event.currentTarget)); - }); $('#user_email_opted_in').on('change', this.submitForm); $('#user_notified_of_own_activity').on('change', this.submitForm); this.form.on('submit', this.onSubmitForm); -- cgit v1.2.3