芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/media.8/plg_quickicon_joomlaupdate/js/jupdatecheck-es5.min.js
!function(){"use strict";if(Joomla&&Joomla.getOptions("js-extensions-update")){var e=function(e,n){var o=document.getElementById("plg_quickicon_joomlaupdate"),t=[].slice.call(o.querySelectorAll("span.j-links-link"));o&&o.classList.add(e),t.length&&t.forEach((function(e){e.innerHTML=Joomla.sanitizeHtml(n)}))},n=function(){var n=Joomla.getOptions("js-joomla-update");fetch(n.ajaxUrl,{method:"GET"}).then((function(o){o.json().then((function(o){if(Array.isArray(o))if(0===o.length)e("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"));else{var t=o.shift();t.version!==n.version?e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPDATEFOUND").replace("%s",'
'+t.version+"
")):e("success",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_UPTODATE"))}else e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))})).catch((function(){e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))}))})).catch((function(){e("danger",Joomla.Text._("PLG_QUICKICON_JOOMLAUPDATE_ERROR"))}))};window.addEventListener("load",(function(){setTimeout(n,300)}))}}();