CoreFiles by mySites.guru
starttabsetscript.php21 lines, 523 bytes, from Joomla_3.9.17-rc-Release_Candidate-Full_Package.zip
Raw History Compare with 3.9.16-rc
md5
2c340609c54d58aeb63098e91d964dc2
sha1
c8bf5ed358d4912eceb7ddff64b2aa769cd6a823
sha256
d5a552f3d61c551477aa4c15fe5de170dc525f7db6ab792ee2e46c62ce466306
<?php
/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

$selector = empty($displayData['selector']) ? '' : $displayData['selector'];

echo
	'jQuery(function($){ ',
		'$(', json_encode('#' . $selector . ' a'), ')',
			'.click(function (e) {',
				'e.preventDefault();',
				'$(this).tab("show");',
			'});',
	'});';

The same content is in 26 releases, Joomla 3.9.17-rc to 3.10.0-alpha1. See them all, or every version of this file.