CoreFiles by mySites.guru
toolbar.min.js4 lines, 1,119 bytes, from Joomla_5.3.0-beta3-Beta-Full_Package.zip
Raw History Compare with 5.3.0-beta2
md5
16999d8ec91c089813b19addc191860f
sha1
7e039e840e1ff454d9bbdfe99fe65af3de33e907
sha256
d1d1d3a3791c4384dc8be7bacd95fd712bfaccebd205481ee964624eda80ddf6
/**
 * @copyright   (C) 2017 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */Joomla=window.Joomla||{},function(r,e){"use strict";r.popupWindow=function(o,n,s,i,a){const t=(screen.width-s)/2,l=(screen.height-i)/2,d=`height=${i},width=${s},top=${l},left=${t},scrollbars=${a},resizable`;window.open(o,n,d).window.focus()},e.addEventListener("DOMContentLoaded",()=>{const o=e.getElementById("toolbar-options"),n=e.getElementById("toolbar-help"),s=e.getElementById("toolbar-inlinehelp");if(e.querySelectorAll(".js-toolbar-help-btn").forEach(i=>{i.addEventListener("click",a=>{const t=a.currentTarget,l=`height=${parseInt(t.dataset.height,10)},width=${parseInt(t.dataset.width,10)},top=${(window.innerHeight-parseInt(t.dataset.height,10))/2},left=${(window.innerWidth-parseInt(t.dataset.width,10))/2},scrollbars=${t.dataset.width==="true"},resizable`;window.open(t.dataset.url,t.dataset.tile,l).window.focus()})}),s){s.classList.add("ms-auto");return}n&&!o&&n.classList.add("ms-auto"),o&&!n&&o.classList.add("ms-auto")})}(Joomla,document);

The same content is in 87 releases, Joomla 4.4.4-rc1 to 6.0.0-beta3. See them all, or every version of this file.