Merged in feature/MAW-855-import-code-into-aws (pull request #2)
code import from pantheon * code import from pantheon
This commit is contained in:
15
wp/wp-content/plugins/wordfence/js/wfdashboard.1699289814.js
Normal file
15
wp/wp-content/plugins/wordfence/js/wfdashboard.1699289814.js
Normal file
@@ -0,0 +1,15 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user