CoreFiles by mySites.guru
select-colour.min.js1 lines, 688 bytes, from Joomla_4.0.0-alpha8-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha7
md5
5253d07112bcb852a8a3dc2fdb7d7b8b
sha1
b36e5b7cf737baebb09faf7c734e46d31ca0f40c
sha256
01f838a5f5512b9ef81af5f3dafa0179c728cfac7889c2727889a8b5f45e4756
(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 5 releases, Joomla 4.0.0-alpha8 to 4.0.0-alpha12. See them all, or every version of this file.