HEX
Server: Apache
System: Linux webm006.cluster111.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: perditaeyz (838589)
PHP: 7.3.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/p/e/r/perditaeyz/www/wp-content/plugins/better-wp-security/core/modules/malware/js/malware.js
"use strict";

(function( $ ) {
	var itsecMalware = {
		init: function() {
			this.bindEvents();
		},

		bindEvents: function() {
			$(document).on('click', '.itsec-malware-scan-results .itsec-malware-scan-toggle-details', this.toggleDetails);
		},

		toggleDetails: function( event ) {
			event.preventDefault();

			var $container = $(this).parents('.itsec-malware-scan-results-section');
			var $details = $container.find('.itsec-malware-scan-details');

			if ( $details.is(':visible') ) {
				$(this).html('Show Details');
				$details.hide();
			} else {
				$(this).html('Hide Details');
				$details.show();
			}
		}
	};

	$(document).ready(function() {
		itsecMalware.init();
	});
})( jQuery );