1// Adds Font Awesome Bullets to quicklinks 2function FontAwesomeQuicklinksBullets() 3{ 4 try 5 { 6 $('.quicklinks > ul').addClass('fa-ul'); 7 $('.quicklinks > ul > li').prepend('<span class="fa-li"><i class="fa fa-check-square-o"></i></span>' 8 ); 9 } 10 catch (error) 11 { 12 console.log('Quicklinks font awesome bullets did not work'); 13 } 14} 15 16$(document).ready(sitewideincludes); 17 18// Loads quicklinks from the quicklinks page into .quicklinks 19function sitewideincludes() 20{ 21 try 22 { 23 $('.quicklinks').load('Quicklinks/index.html #container ul', function() 24 { 25 FontAwesomeQuicklinksBullets(); 26 }); 27 } 28 catch (ex) 29 { 30 console.log('Quicklinks missing.'); 31 } 32} 33 34// Removes empty anchors from the footer 35let footerEmptyLinks = $("footer a[href|=''], footer a[href|='tel:']"); 36let socialBarEmptyLinks = $(".social-buttons a[href|='']"); 37$(footerEmptyLinks).remove(); 38$(socialBarEmptyLinks).remove(); 39 40if (ElementEmptyCheck($('.social-bar .social-buttons > a'))) 41{ 42 $('.social-bar').remove(); 43} 44 45let contactDivs = $('.footer-contact .footer-phone div'); 46 47$(contactDivs).each(function() 48{ 49 if ($(this).text().trim() === '' || $(this).text().trim() === '(fax)') 50 { 51 $(this).remove(); 52 } 53}); 54 55// Adds empty-element class to the footer tagline if it is empty 56ElementEmptyCheck('.tagline');
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.