1$(function() { 2 $('.panel.action.primary').click(function(){ //Open T&Cs pop up 3 if ( $( "link.printSheet" ).length == 0){ 4 $('head').append('<link href="/siteelements/css/call-to-action-print.css" rel="stylesheet" type="text/css" class="printSheet" media="print" />'); 5 } 6 }); 7 $('.close').click(function(){ 8 $('.printSheet').remove(); 9 $('.tandc__toggle').attr('checked', false); 10 }); 11 12 $('.tandc__toggle').click(function(){ 13 if(this.checked){ 14 $(".tandc__ok").css("display","block"); 15 } 16 else{ 17 $(".tandc__ok").css("display","none") 18 } 19 }); 20 21 $('#print').click(function(){ 22 if ( $( "link.printSheet" ).length == 0){ 23 $('head').append('<link href="/siteelements/css/call-to-action-print.css" rel="stylesheet" type="text/css" class="printSheet" media="print" />'); 24 } 25 window.print(); 26 }); 27 28 window.onafterprint = function(){ 29 if($(".modal").css("display") =="none"){ 30 $('.printSheet').remove(); 31 } 32 } 33});
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.