1try { 2(() => { 3 'use strict'; 4 5 document.addEventListener('DOMContentLoaded', function () { 6 const elements = document.querySelectorAll(".sppb-addon-text-block"); 7 elements.forEach(element => { 8 const fullText = element.querySelector(".sppb-addon-content-full-text"); 9 const showMoreButtonElement = element.querySelector(".sppb-btn-show-more"); 10 const addonContentElement = element.querySelector(".sppb-addon-content"); 11 12 const handleClick = () => { 13 addonContentElement.innerHTML = fullText.innerHTML; 14 }; 15 showMoreButtonElement?.addEventListener('click', handleClick); 16 }); 17 }) 18})(); 19} catch (e) { 20console.error('Error in file:/components/com_sppagebuilder/assets/js/addons/text_block.js; Error:' + e.message); 21};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.