CoreFiles by mySites.guru
select-colour.min.js1 lines, 688 bytes, from Joomla_4.0.0-alpha7-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha6
md5
5b736377f4d53c7cd47a17e6a8471752
sha1
8d2d4bee87542a8427790d608cfca46a3d74d81b
sha256
e4b0b44c395fa773c5fcd8c9fef5b58ae2023ffdb53425c635f936dfbb511137
(function(){"use strict";var a=function(a){var b=a.target,c=parseInt(b.value,10);b.classList.remove("custom-select-success","custom-select-danger"),1===c?b.classList.add("custom-select-success"):(0===c||-2===c)&&b.classList.add("custom-select-danger")},b=function(){var c=[].slice.call(document.querySelectorAll(".custom-select-color-state"));c.forEach(function(b){var c=parseInt(b.value,10);1===c?b.classList.add("custom-select-success"):(0===c||-2===c)&&b.classList.add("custom-select-danger"),b.addEventListener("change",a)}),document.removeEventListener("DOMContentLoaded",b,!0)};document.addEventListener("DOMContentLoaded",b,!0),document.addEventListener("joomla:updated",b,!0)})();

The same content is in 2 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha7. See them all, or every version of this file.