CoreFiles by mySites.guru
select-colour.es6.min.js1 lines, 654 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
23fbe6cafe56b2f95d6238ee91ea6918
sha1
77fb6875e6232adffd0990b5e44ef39e156e6af5
sha256
a139c7961465658ad20fdeb39e37fe34bdb07040f52cd8e62453d6716627777d
(()=>{"use strict";const e=e=>{const s=e.target,t=parseInt(s.value,10);s.classList.remove("custom-select-success","custom-select-danger"),1===t?s.classList.add("custom-select-success"):0!==t&&-2!==t||s.classList.add("custom-select-danger")},s=()=>{[].slice.call(document.querySelectorAll(".custom-select-color-state")).forEach(s=>{const t=parseInt(s.value,10);1===t?s.classList.add("custom-select-success"):0!==t&&-2!==t||s.classList.add("custom-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 2 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha6. See them all, or every version of this file.