CoreFiles by mySites.guru
select-colour.es6.min.js1 lines, 668 bytes, from Joomla_4.0.0-alpha11-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha10
md5
0426979535f9592a572b0689ea615318
sha1
2ea2673ad89d73ccd6d7aa65b3d2952f4bcf3ecf
sha256
c996d9f58725c89c25542f516ba73973867e252e295b18316a2e3a770f8c6eed
(()=>{'use strict';const a=a=>{const 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=()=>{const c=[].slice.call(document.querySelectorAll(".custom-select-color-state"));c.forEach(b=>{const 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.