ElEditors, Interface administrators, Administrators
70,866
edits
No edit summary |
No edit summary |
||
Line 430: | Line 430: | ||
$('body').toggleClass('dark-mode'); | $('body').toggleClass('dark-mode'); | ||
var notif = $('.dark-mode-notif[data-time="'+timestamp+'"]'); | var notif = $('.dark-mode-notif[data-time="'+timestamp+'"]'); | ||
notif.remove(); | var otherNotif = $('.dark-mode-notif:not([data-time="'+timestamp+'"])'); | ||
otherNotif.remove(); | |||
matchHeaderText(true); | matchHeaderText(true); | ||
if ($('body').hasClass('dark-mode')) { | if ($('body').hasClass('dark-mode')) { |