1jQuery(function($) { 2 jQuery(document).on("gform_post_render", function() { 3 jQuery(".incheck-bc .disabled :input") 4 .prop("disabled", true) 5 .trigger("chosen:updated"); 6 jQuery(".incheck-bc .gform_wrapper form").submit(function() { 7 jQuery(".incheck-bc .disabled :input").prop("disabled", false); 8 }); 9 10 if (jQuery(".incheck-bc_wrapper").length) { 11 jQuery("#scroll_to_bottom").remove(); 12 jQuery("body").append( 13 '<button id="scroll_to_bottom" class="scroll-to-bottom button">Scroll to bottom</button>' 14 ); 15 } 16 17 jQuery("#scroll_to_bottom").on("click", function() { 18 window.scrollTo( 19 0, 20 document.body.scrollHeight || document.documentElement.scrollHeight 21 ); 22 }); 23 }); 24 25 window.onscroll = function(ev) { 26 if (jQuery("#scroll_to_bottom").length) { 27 if (window.innerHeight + window.scrollY >= document.body.offsetHeight) { 28 // you're at the bottom of the page 29 document.getElementById("scroll_to_bottom").style.display = "none"; 30 } else { 31 document.getElementById("scroll_to_bottom").style.display = "block"; 32 } 33 } 34 }; 35});
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.