CoreFiles by mySites.guru
admin-language-edit-change-flag.min.js1 lines, 431 bytes, from Joomla_4.0.0-alpha9-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha8
md5
da439d066c939322fe7bf5ba1eb16dd3
sha1
253b499a3022abd2b95421d6886c9e4e19a557bd
sha256
7ab5a6086fd65f713b79b04fb2a8eb427609d4082d43eb2346116f6dfcb3682d
document.addEventListener("DOMContentLoaded",function(){document.getElementById("jform_image").addEventListener("change",function(a){var b=a.currentTarget.value,c=document.getElementById("flag").querySelector("img"),d="".concat(Joomla.getOptions("system.paths").rootFull,"/media/mod_languages/images/").concat(b,".gif");b?(c.setAttribute("src",d),c.setAttribute("alt",b)):(c.removeAttribute("src"),c.setAttribute("alt",""))},!1)});

The same content is in 7 releases, Joomla 4.0.0-alpha6 to 4.0.0-alpha12. See them all, or every version of this file.