Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Zallmann <tzallmann@gitlab.com>2019-03-28 00:33:20 +0300
committerClement Ho <clemmakesapps@gmail.com>2019-03-28 00:33:20 +0300
commit4f0b2079dedef24778e6176c0e1f814cdb739a90 (patch)
treeb8384954bbbec913ec3817b517258f9e16f53539 /app/assets/javascripts/notifications_dropdown.js
parent04431d5e616949c09146666e7961d515595c4036 (diff)
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.js1
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;
}