1/** 2 * @copyright (C) 2020 Open Source Matters, Inc. <https://www.joomla.org> 3 * @license GNU General Public License version 2 or later; see LICENSE.txt 4 */ 5(document => { 6 7 const onClick = () => { 8 const form = document.getElementById('adminForm'); 9 document.getElementById('filter-search').value = ''; 10 form.submit(); 11 }; 12 const onBoot = () => { 13 const form = document.getElementById('adminForm'); 14 const element = form.querySelector('button[type="reset"]'); 15 if (element) { 16 element.addEventListener('click', onClick); 17 } 18 document.removeEventListener('DOMContentLoaded', onBoot); 19 }; 20 document.addEventListener('DOMContentLoaded', onBoot); 21})(document);
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.