CoreFiles by mySites.guru
jupdatecheck-es5.min.js1 lines, 1,062 bytes, from Joomla_4.2.0-beta2-Beta-Full_Package.zip
Raw History Compare with 4.2.0-beta1
md5
a0a41d07235f64f541ee6014168a4595
sha1
c8205e0db8e2518d9e7aae2fdd0d291499cfd414
sha256
7eb51bf05df1e3c98f02fe00afb1ff1e7c1728fc9b56cb17d23116c27400c43a
!function(){"use strict";if(Joomla&&Joomla.getOptions("js-extensions-update")){var e=function(e,o){var a=document.getElementById("plg_quickicon_joomlaupdate"),n=[].slice.call(a.querySelectorAll("span.j-links-link"));a&&a.classList.add(e),n.length&&n.forEach((function(e){e.innerHTML=Joomla.sanitizeHtml(o)}))},o=function(){var o=Joomla.getOptions("js-joomla-update");Joomla.request({url:o.ajaxUrl,method:"GET",data:"",perform:!0,queued:!0,onSuccess:function(a){var n=JSON.parse(a);if(Array.isArray(n))if(0===n.length)e("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"));else{var t=n.shift();t.version!==o.version?e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND").replace("%s",'<span class="badge text-dark bg-light"> ‎ '+t.version+"</span>")):e("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"))}else e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))},onError:function(){e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))}})};window.addEventListener("load",(function(){setTimeout(o,300)}))}}();

The same content is in 2 releases, Joomla 4.2.0-beta2 to 4.2.0-beta3. See them all, or every version of this file.