1jQuery(document).on('gform_page_loaded', function(event, form_id, current_page){ 2 AaoWyrSpacer(); 3}); 4 5jQuery(document).on('gform_confirmation_loaded', function(event, formId){ 6 AaoWyrHideConfirmationPageTitle(); 7}); 8function AaoWyrSpacer() { 9var first_radios = document.querySelectorAll('#gform_5 .gfield_radio .gchoice:nth-child(1)'); 10Object.keys(first_radios) .forEach(x => { var or_div = document.createElement("div"); or_div.classList.add("wyr-quiz-divider"); 11 or_div.innerHTML = "<p class='wyr-quiz-divider-innertext editorskit-no-mobile'>OR</p>"; first_radios[x].after(or_div); }); 12} 13 14function AaoWyrHideConfirmationPageTitle() { 15 16var confirmation_page_exists = document.querySelector('#gform_confirmation_wrapper_5'); 17 if(confirmation_page_exists !== null) { var header = document.querySelector('.wyr_question'); header.style.display = 'none'; 18 } 19 20} 21jQuery(document).ready(function() { 22 AaoWyrSpacer(); 23});
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.