diff options
| author | Ron Lucke <lucke@elan-ev.de> | 2025-03-10 08:49:12 +0000 |
|---|---|---|
| committer | Ron Lucke <lucke@elan-ev.de> | 2025-03-10 08:49:12 +0000 |
| commit | 37a43fe5fd150a82b5669211e0012456ce21a0f6 (patch) | |
| tree | 22d4d1b99f766eab58b7c3bf1f9f035ce885df30 /resources/assets/javascripts/lib | |
| parent | 7f0bc45811de2d68ebd4415ef4197438d5d80637 (diff) | |
Anzeige der Notifications verhält sich noch komisch
Closes #5093
Merge request studip/studip!4012
Diffstat (limited to 'resources/assets/javascripts/lib')
| -rw-r--r-- | resources/assets/javascripts/lib/personal_notifications.js | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/resources/assets/javascripts/lib/personal_notifications.js b/resources/assets/javascripts/lib/personal_notifications.js index a70e82e..ea0d72c 100644 --- a/resources/assets/javascripts/lib/personal_notifications.js +++ b/resources/assets/javascripts/lib/personal_notifications.js @@ -169,12 +169,11 @@ const PersonalNotifications = { }); if (really_new > 0) { $('#notification_marker') - .data('seen', false); - $('#notification-wrapper') + .data('seen', false) .addClass('alert'); PageLayout.title_prefix = '(!) '; } else { - $('#notification-wrapper').removeClass('alert'); + $('#notification_marker').removeClass('alert'); PageLayout.title_prefix = ''; } if (count) { @@ -226,8 +225,7 @@ const PersonalNotifications = { $.get(STUDIP.URLHelper.getURL('dispatch.php/jsupdater/notifications_seen')).then(time => { $('#notification_marker') - .data('lastvisit', time); - $('#notification-wrapper') + .data('lastvisit', time) .removeClass('alert'); }); |
