Files
medicalalert-web-reloaded/wp/wp-content/plugins/wordfence/js/wfdashboard.1704213472.js
Tony Volpe 4eb982d7a8 Merged in feature/from-pantheon (pull request #16)
code from pantheon

* code from pantheon
2024-01-10 17:03:02 +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);
}
}
}