CoreFiles by mySites.guru
modal-content-select.min.js4 lines, 793 bytes, from Joomla_5.1.0-Stable-Full_Package.zip
Raw History Compare with 5.0.3
md5
49b4949826ca4fb814d8c029c8cbb56b
sha1
f59613aaa05ecb018722a78436d72d37b5c7d7aa
sha256
170720bcd4425bce0fdb7756193a33febbf7e6616b87737f759ccf49dc786bf9
function _extends(){return _extends=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var s in n)Object.prototype.hasOwnProperty.call(n,s)&&(t[s]=n[s])}return t},_extends.apply(this,arguments)}/**
 * @copyright  (C) 2023 Open Source Matters, Inc. <https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see LICENSE.txt
 */const send=t=>{t.messageType=t.messageType||"joomla:content-select",window.parent.postMessage(t)};document.addEventListener("click",t=>{const e=t.target.closest("[data-content-select]");if(!e)return;t.preventDefault();const n=_extends({},e.dataset);delete n.contentSelect,send(n)}),window.addEventListener("load",()=>{const t=Joomla.getOptions("content-select-on-load");t&&send(t)});

The same content is in 31 releases, Joomla 5.0.1-rc1 to 5.2.0-alpha3. See them all, or every version of this file.