1$(document).ready(function() { 2 // Contains code necessary for custom fontawesome radio buttons to work 3 4 // Update icon for any checked boxes on page load 5 $(".custom-fontawesome-checkbox input[type='radio']").each(function(){ 6 if ($(this).is(":checked")){ 7 $(this).closest(".custom-fontawesome-checkbox").find("span.icon").html(`<i class="far fa-check-circle"></i>`); 8 }else{ 9 $(this).closest(".custom-fontawesome-checkbox").find("span.icon").html('<i class="far fa-circle"></i>'); 10 } 11 }) 12 13 // Update icons when radio button changed 14 $(".custom-fontawesome-checkbox input[type='radio']").on('change', function(){ 15 $(this).closest(".custom-fontawesome-checkbox").siblings().find("span.icon").html('<i class="far fa-circle"></i>'); 16 if ($(this).is(":checked")){ 17 $(this).closest(".custom-fontawesome-checkbox").find("span.icon").html(`<i class="far fa-check-circle"></i>`); 18 }else{ 19 $(this).closest(".custom-fontawesome-checkbox").find("span.icon").html('<i class="far fa-circle"></i>'); 20 } 21 }) 22})
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.