CoreFiles by mySites.guru
admin-module-search.min.js1 lines, 870 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
c80f775fb206f59c4e6d4817a7d651c9
sha1
ddbabc1d96adfc767b44c2a8052d1f35ced5b95e
sha256
0d2c01b882e0a93fdc1f058a9237a4f738c34a37a5121a9c23ff2400c874e3c6
(function(a){'use strict';var b=a.getElementById("comModulesSelectSearch"),c=a.getElementById("comModulesSelectSearchContainer");if(b&&c){b.addEventListener("keyup",function(b){var c=b.target.value,d=a.querySelectorAll(".comModulesSelectCard");"undefined"!=typeof sessionStorage&&sessionStorage.setItem("Joomla.com_modules.new.search",c),d.forEach(function(a){var b=a.querySelectorAll(".card-header"),d=a.querySelectorAll(".card-body"),e=b.length?b[0].textContent:"",f=d.length?d[0].textContent:"";a.classList.remove("d-none"),""!==c&&(e.toLowerCase().includes(c.toLowerCase())||f.toLowerCase().includes(c.toLowerCase())||a.classList.add("d-none"))})}),c.classList.remove("d-none"),b.focus();try{"undefined"!=typeof sessionStorage&&(b.value=sessionStorage.getItem("Joomla.com_modules.new.search")||"",b.dispatchEvent(new KeyboardEvent("keyup")))}catch(a){}}})(document);

The same content is in 6 releases, Joomla 4.0.0-beta2 to 4.0.0-beta7. See them all, or every version of this file.