CoreFiles by mySites.guru
starttabsetscript.php21 lines, 527 bytes, from Joomla_3.9.14-Stable-Full_Package.zip
Raw History Compare with 3.9.13
md5
17a96b0da226df9d771a5254104faa62
sha1
47543eea5e46dfeb39dd583783f5027d56931b26
sha256
819bda79a12978fb632c8d230e6fa74dce8969258b3760ba1538b853d36c6125
<?php
/**
 * @package     Joomla.Site
 * @subpackage  Layout
 *
 * @copyright   Copyright (C) 2005 - 2019 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('JPATH_BASE') 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.2-rc to 3.9.14. See them all, or every version of this file.