CoreFiles by mySites.guru
select-colour.min.js1 lines, 692 bytes, from Joomla_4.0.0-beta1-Beta-Full_Package.zip
Raw History Compare with 3.9.0-beta4
md5
f308d137bc970dd8087cb7195b780cbc
sha1
bdf2f60c9b6e838d6d8c13be02486fadfe9b5259
sha256
dcfca57dc9050cee3e32c58f3e7d638ab3abd077f03a51ed68f582316eceb1e1
(function(){'use strict';var a=function(a){var b=a.target,c=b,d=parseInt(c.value,10);c.classList.remove("custom-select-success","custom-select-danger"),1===d?c.classList.add("custom-select-success"):(0===d||-2===d)&&c.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 6 releases, Joomla 4.0.0-beta to 4.0.0-beta6. See them all, or every version of this file.