Files
medicalalert-web-reloaded/wp/wp-content/plugins/wordfence/js/wfdashboard.1701191857.js
Tony Volpe 725d3043d5 Merged in feature/81-dev-dev01 (pull request #5)
auto-patch  81-dev-dev01-2023-12-05T22_45_26

* auto-patch  81-dev-dev01-2023-12-05T22_45_26
2023-12-05 23:05:59 +00:00

16 lines
365 B
JavaScript

if (!window['WFDash']) {
window['WFDash'] = {
updateNotificationCount: function(count) {
(function($) {
$('.wf-notification-count-value').html(count);
if (count == 0) {
$('.wf-notification-count-container').addClass('wf-hidden');
}
else {
$('.wf-notification-count-container').removeClass('wf-hidden');
}
})(jQuery);
}
}
}