CoreFiles by mySites.guru
tag.min.js1 lines, 914 bytes, from Joomla_4.0.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.0.0-beta
md5
94874ac074a951302ae93eced991ab77
sha1
70717c83cc14bda58e65db696d25262e0426a35e
sha256
f05912a710a2760aead9db2ffb3fc0c115e33a332f3d6eb8fba0b7d946d8962b
jQuery(document).ready(function(e){if(Joomla.getOptions("field-tag-custom")){var t=Joomla.getOptions("field-tag-custom");e(t.selector+"_chosen input").keyup(function(i){var l;if(this.value&&this.value.length>=t.minTermLength&&(13===i.which||188===i.which)){var r=e(t.selector+"_chosen").find("li.active-result.highlighted").first();if(13===i.which&&""!==r.text()){var o="#new#"+r.text();e(t.selector+" option").filter(function(){return e(this).val()==o}).remove(),(l=e(t.selector+" option").filter(function(){return e(this).html()==r.text()})).attr("selected","selected")}else{var s=this.value;if(""!==(l=e(t.selector+" option").filter(function(){return e(this).html()==s})).text())l.attr("selected","selected");else{var n=e("<option>");n.text(this.value).val("#new#"+this.value),n.attr("selected","selected"),e(t.selector).append(n)}}this.value="",e(t.selector).trigger("chosen:updated"),i.preventDefault()}})}});

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