CoreFiles by mySites.guru
admin-language-edit-change-flag.min.js1 lines, 435 bytes, from Joomla_4.0.0-beta7-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta6
md5
eda54029e8409607f4a91b2c4ad20fbe
sha1
928e140df51547d6880553b25e899f0c60be969a
sha256
79b4b36ba77fe5e0b2f300232f99084c8f4344d01e9f8ada663137f1e4e449a6
document.addEventListener("DOMContentLoaded",function(){document.getElementById("jform_image").addEventListener("change",function(a){var b=a.currentTarget,c=b.value,d=document.getElementById("flag").querySelector("img"),e="".concat(Joomla.getOptions("system.paths").rootFull,"/media/mod_languages/images/").concat(c,".gif");c?(d.setAttribute("src",e),d.setAttribute("alt",c)):(d.removeAttribute("src"),d.setAttribute("alt",""))},!1)});

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