HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/PDeckers/zuinighuis.be/wwwroot/wp-content/plugins/clicky/js/admin.js
jQuery(document).ready(function() {

	jQuery('#yoast-tabs').find('a').click(function () {
		jQuery('#yoast-tabs').find('a').removeClass('nav-tab-active');
		jQuery('.yoast_tab').removeClass('active');

		var id = jQuery(this).attr('id').replace('-tab', '');
		jQuery('#' + id).addClass('active');
		jQuery(this).addClass('nav-tab-active');
		jQuery("#return_tab").val(id);
	});

	// init
	var active_tab = window.location.hash.replace('#top#','');

	// default to first tab
	if ( active_tab === '' || active_tab === '#_=_') {
		active_tab = jQuery('.yoast_tab').attr('id');
	}

	jQuery('#' + active_tab).addClass('active');
	jQuery('#' + active_tab + '-tab').addClass('nav-tab-active').click();
});