CoreFiles by mySites.guru
select-colour.min.js1 lines, 638 bytes, from Joomla_4.0.0-alpha3-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha2
md5
dd971f421e6d6627a44764a45fb304a8
sha1
9ea2205a961cfad70d182efd7b2ff42fa7cbbafc
sha256
e7884dd6d8b6a7c2779ebf3d27bf6bd101d63e4a488629a104d974bd7cde6ab2
Joomla=window.Joomla||{},function(e){"use strict";e.updateSelectboxColour=function(){for(var e=document.querySelectorAll(".custom-select-color-state"),s=0,t=e.length;s<t;s++){var c=e[s];1==c.value?c.classList.add("custom-select-success"):0==c.value&&c.classList.add("custom-select-danger"),c.addEventListener("change",function(){this.classList.remove("custom-select-success","custom-select-danger"),1==this.value?this.classList.add("custom-select-success"):0!=this.value&&this.value!=parseInt(-2)||this.classList.add("custom-select-danger")})}},document.addEventListener("DOMContentLoaded",function(){e.updateSelectboxColour()})}(Joomla);

No other release has this exact content. See every version of this file.