CoreFiles by mySites.guru
select-colour.min.js1 lines, 633 bytes, from Joomla_4.3.2-Stable-Full_Package.zip
Raw History Compare with 4.3.1
md5
62b1c74c54ed3b0982b09f76b638c61d
sha1
3a8a081b626d1947ede3688a17699bde21294d1a
sha256
64e623ae63fda471f16a3e846635542481f851b408a437d73115976d95ba13e2
(()=>{const e=({target:e})=>{const s=e,t=parseInt(s.value,10);s.classList.remove("form-select-success","form-select-danger"),1===t?s.classList.add("form-select-success"):0!==t&&-2!==t||s.classList.add("form-select-danger")},s=()=>{[].slice.call(document.querySelectorAll(".form-select-color-state")).forEach((s=>{const t=parseInt(s.value,10);1===t?s.classList.add("form-select-success"):0!==t&&-2!==t||s.classList.add("form-select-danger"),s.addEventListener("change",e)})),document.removeEventListener("DOMContentLoaded",s,!0)};document.addEventListener("DOMContentLoaded",s,!0),document.addEventListener("joomla:updated",s,!0)})();

The same content is in 106 releases, Joomla 4.0.0-rc1 to 5.0.0. See them all, or every version of this file.