CoreFiles by mySites.guru
color-field-adv-init.js17 lines, 538 bytes, from Joomla_3.7.0-Stable-Full_Package.zip
Raw History Compare with 3.6.5
md5
6697be5ad39609647de91ac470d297af
sha1
e1743d88beb37cb1a9ad3e199a8dd1fd13ca3e3a
sha256
1851bb9698333be51a4b0668bfda03958a3a5de2d53fc7df24a12201548d7cbe
jQuery(document).ready(function ($){
	$('.minicolors').each(function() {
		$(this).minicolors({
			control: $(this).attr('data-control') || 'hue',
			format: $(this).attr('data-validate') === 'color'
				? 'hex'
				: ($(this).attr('data-format') === 'rgba'
				? 'rgb'
				: $(this).attr('data-format'))
			|| 'hex',
			keywords: $(this).attr('data-keywords') || '',
			opacity: $(this).attr('data-format') === 'rgba' ? true : false || false,
			position: $(this).attr('data-position') || 'default',
			theme: 'bootstrap'
		});
	});
});

The same content is in 15 releases, Joomla 3.7.0-alpha1 to 3.7.2. See them all, or every version of this file.