CoreFiles by mySites.guru
tabs-state.min.js1 lines, 2,352 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
fc44df5b74b9cfe5d8bdff3b5e0841bf
sha1
0f0294c83f62ad5bf6d099a631c2518cc8b64c47
sha256
caaa4a0fd82b9bd088670c2c24a8a1d01cf26a44dba06e3eb15ce64f21e2d742
jQuery(function(e){"function"==typeof wgxpath.install&&wgxpath.install(),e.urlParam=function(e){new RegExp("=$").exec(e)||(e+="=");var t=new RegExp("[\\?&]("+e+")([^&#]*)").exec(window.location.href);return t?t[1]:null},e.getXpath=function(t){if("string"==typeof t)return document.evaluate(t,document,null,0,null);if(!t||1!=t.nodeType)return"";if(t.id)return"//*[@id='"+t.id+"']";var n=[].filter.call(t.parentNode.children,function(e){return e.tagName==t.tagName});return e.getXpath(t.parentNode)+"/"+t.tagName.toLowerCase()+(n.length>1?"["+([].indexOf.call(n,t)+1)+"]":"")},e.findXpath=function(t,n){for(var a,o=[],r=document.evaluate(t,n||document,null,5,null);a=r.iterateNext();)o.push(a);return e(o)};setTimeout(function(){function t(){return window.location.href.toString().split(window.location.host)[1].replace(/&return=[a-zA-Z0-9%]+/,"").split("#")[0]}function n(n){if(window.sessionStorage){var a=t(),o=e(n.target).attr("href"),r=e.getXpath(e(n.target).closest(".nav-tabs").first().get(0));if(r&&void 0!==o){var i=r+"|"+o;if(l=JSON.parse(sessionStorage.getItem(a)))!function(e,t){for(var n=0;n<e.length;n++)e[n].indexOf(t)>-1&&e.splice(n,1)}(l,r);else var l=[];l.push(i),sessionStorage.setItem(a,JSON.stringify(l))}}}var a=JSON.parse(sessionStorage.getItem(t())),o=e("a[data-toggle='tab']");if(o.on("click",function(e){n(e)}),o.parent(".active").removeClass("active"),!a){var r=t().replace(/\&id=[0-9]*|[a-z]\&{1}_id=[0-9]*/,"");a=JSON.parse(sessionStorage.getItem(r)),sessionStorage.removeItem(r)}if(null===a||window.location.hash){var i=[];if(window.location.hash){o.parents("ul").each(function(t,n){var a=e(n).find("a[href='"+window.location.hash+"']");if(a.length){a.selector?i.push(a):i.push(a.first());var o=a.closest(".tab-pane");if(o){var r=o.attr("id");if(r){var l=e(o).find("a[href='#"+r+"']");l&&i.push(l)}}}l=null,a=null,o=null,r=null}),i.reverse();for(var l=0;l<i.length;l++)jQuery(i[l].selector).click();var s,c,u=window.location;"pushState"in history?history.pushState("",document.title,u.pathname+u.search):(s=document.body.scrollTop,c=document.body.scrollLeft,u.hash="",document.body.scrollTop=s,document.body.scrollLeft=c)}else o.parents("ul").each(function(t,n){e(n).find("a").first().click()})}else e.each(a,function(t,n){var a=n.split("|");e.findXpath(a[0]).find("a[data-toggle='tab'][href='"+a[1]+"']").click()})},100)});

No other release has this exact content. See every version of this file.