diff options
author | Tim Zallmann <tzallmann@gitlab.com> | 2019-03-27 21:33:20 +0000 |
---|---|---|
committer | Clement Ho <clemmakesapps@gmail.com> | 2019-03-27 21:33:20 +0000 |
commit | 4f0b2079dedef24778e6176c0e1f814cdb739a90 (patch) | |
tree | b8384954bbbec913ec3817b517258f9e16f53539 /app/assets/javascripts/notifications_dropdown.js | |
parent | 04431d5e616949c09146666e7961d515595c4036 (diff) | |
download | gitlab-ce-4f0b2079dedef24778e6176c0e1f814cdb739a90.tar.gz |
Upgraded Vue to 2.6.8
Upgrade to latest Version
Diffstat (limited to 'app/assets/javascripts/notifications_dropdown.js')
-rw-r--r-- | app/assets/javascripts/notifications_dropdown.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/notifications_dropdown.js b/app/assets/javascripts/notifications_dropdown.js index e7fa05faa8a..6aed2492084 100644 --- a/app/assets/javascripts/notifications_dropdown.js +++ b/app/assets/javascripts/notifications_dropdown.js @@ -4,6 +4,7 @@ import Flash from './flash'; export default function notificationsDropdown() { $(document).on('click', '.update-notification', function updateNotificationCallback(e) { e.preventDefault(); + if ($(this).is('.is-active') && $(this).data('notificationLevel') === 'custom') { return; } |