Spotted lanternflies weren’t the only insects on county residents’ minds this summer.

Some Lebanon Valley gardeners and nature lovers have reported that area butterfly populations appear to be down this year compared to last year, with the stately orange-and-black monarch a specific focus for some.

LebTown spoke to Lebanon County Master Gardener Joan Weaver via phone about this apparent decrease. As a Master Gardener, Weaver is part of the Penn State Extension program that participates in volunteer work, article writing, and public programs every year. “The purpose of Master Gardeners is that we are supposed to provide education to the public about gardening and anything related to it,” said Weaver.

“My particular interest has been native plants and how they fit into the environment,” Weaver said, adding that insects naturally play a large role in that.

Weaver noted that there are some possible explanations for the decrease. “There was some pretty crummy weather in the spring this year,” she said. “Butterflies are cold-blooded and dependent on the atmosphere for their body temperature. A late freeze can kill a whole bunch of them.”

Weaver, who lives in the northern side of the county, added that some areas might have been subject to different weather at different times, and that cool temperatures may delay butterfly appearances. Sustained spring and summer warmth can be a benefit to butterflies, but the problem of temperature goes both ways. Eggs may not hatch and adults may be unable to mate in extreme heat.

Ultimately, though, anecdotal information about butterflies from within a current season is difficult to judge, and there are also plenty who haven’t noticed anything amiss. “It’s hard to tell from year to year until along about January in 2021,” Weaver explained, in reference to monarch butterflies in particular.

The monarch butterfly, whose larval form relies solely on the milkweed plant for food. (Karen Oberhauser/University of Minnesota)

Monarchs in North America are noted for their impressive migratory patterns, which involve several generations hatching, flying, and laying eggs en route to a small mountain area in Mexico over the winter months. This is where and when the population number is estimated, with the lowest count reported in 2013-14 with about 14 million monarchs (in the past, the number has been in the hundreds of millions).

Earlier this year, scientists reported a 53% decrease from the previous year, and while monarchs are not classified as an endangered species, the drop has alarmed some. Monarchs have been on the decline for several decades, according to Weaver, and when they return to the northeastern US and Canada, this decline can be apparent.

A spicebush swallowtail butterfly. (Sarah Groh)

Though not all butterflies migrate as the monarchs do, they can be affected by the same weather and temperature patterns of the Lebanon Valley. Other easy-to-spot species in the area include the eastern tiger swallowtail, the spicebush swallowtail, and the black swallowtail. A few of the smaller species that call Lebanon home are the silver-spotted skipper, the cabbage white, and the pearl crescentspot, among many others.

Another possible factor in the perceived decline may be simply that 2019 was a good year for butterflies, as reported around this time last year by Penn Live — though that perception too may have been simply word-of-mouth.

“We who like butterflies are on social media and posting pictures of the latest butterfly that landed in our flowerbed,” Weaver said. “It’s very anecdotal.”

Aiding next year’s butterflies

Although 2020 may or may not prove to be a bum year for butterflies, many species’ numbers rise and fall cyclically and there are some things that can be done to aid next year’s populations.

Weaver recommended the site Monarch Watch for keeping tabs on monarchs. The site provides information on the butterflies and the creation of “monarch waystations,” specially managed gardens with milkweed species.

For the monarch, milkweed is essential for the laying of eggs and the feeding of larvae. “It used to be that you could drive through the country and see milkweed in all kinds of places: vacant lots, uncultivated fields, the edges of roads,” Weaver said. But due to strict landscaping, pesticides, and more, “the monarch’s host plant just isn’t there anymore.”

More generally, butterflies and other pollinators are attracted to a diversity of flowering plants. Water and shelter are also a good idea, and keeping a yard or lawn a bit scruffy may help as well.

“You don’t want to cut everything down to the ground and destroy it,” advised Weaver. “It may not sound like what you’d expect Master Gardeners to say, but if people can keep themselves from mowing and clipping everything, that can make a yard inviting.”


Questions about this story? Suggestions for a future LebTown article? Reach our newsroom using the contact form below and we’ll do our best to get back to you.

We'll keep following up thanks to the support of our members.

We’re here to help make Lebanon County a better place.

LebTown is an independent media organization that provides timely, accurate, and comprehensive journalism intended to help people navigate their daily lives and promote the general well-being of Lebanon County.

Journalists are today a diminishing presence at the local level across the country, and the single most important metric for LebTown long-term will be the number of journalists we employ to cover Lebanon County.

You’re already supporting LebTown as a member. If you’re able, please consider making an extra one-time contribution this year.

Questions about this story? Suggestions for a future LebTown article? Reach our newsroom using the contact form below and we’ll do our best to get back to you.

#gform_wrapper_22[data-form-index=”0″].gform-theme,[data-parent-form=”22_0″]{–gf-color-primary: #204ce5;–gf-color-primary-rgb: 32, 76, 229;–gf-color-primary-contrast: #fff;–gf-color-primary-contrast-rgb: 255, 255, 255;–gf-color-primary-darker: #001AB3;–gf-color-primary-lighter: #527EFF;–gf-color-secondary: #fff;–gf-color-secondary-rgb: 255, 255, 255;–gf-color-secondary-contrast: #112337;–gf-color-secondary-contrast-rgb: 17, 35, 55;–gf-color-secondary-darker: #F5F5F5;–gf-color-secondary-lighter: #FFFFFF;–gf-color-out-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-out-ctrl-light-rgb: 17, 35, 55;–gf-color-out-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-out-ctrl-light-lighter: #F5F5F5;–gf-color-out-ctrl-dark: #585e6a;–gf-color-out-ctrl-dark-rgb: 88, 94, 106;–gf-color-out-ctrl-dark-darker: #112337;–gf-color-out-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-color-in-ctrl: #fff;–gf-color-in-ctrl-rgb: 255, 255, 255;–gf-color-in-ctrl-contrast: #112337;–gf-color-in-ctrl-contrast-rgb: 17, 35, 55;–gf-color-in-ctrl-darker: #F5F5F5;–gf-color-in-ctrl-lighter: #FFFFFF;–gf-color-in-ctrl-primary: #204ce5;–gf-color-in-ctrl-primary-rgb: 32, 76, 229;–gf-color-in-ctrl-primary-contrast: #fff;–gf-color-in-ctrl-primary-contrast-rgb: 255, 255, 255;–gf-color-in-ctrl-primary-darker: #001AB3;–gf-color-in-ctrl-primary-lighter: #527EFF;–gf-color-in-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-in-ctrl-light-rgb: 17, 35, 55;–gf-color-in-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-in-ctrl-light-lighter: #F5F5F5;–gf-color-in-ctrl-dark: #585e6a;–gf-color-in-ctrl-dark-rgb: 88, 94, 106;–gf-color-in-ctrl-dark-darker: #112337;–gf-color-in-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-radius: 3px;–gf-font-size-secondary: 14px;–gf-font-size-tertiary: 13px;–gf-icon-ctrl-number: url(“data:image/svg+xml,%3Csvg width=’8′ height=’14’ viewBox=’0 0 8 14′ fill=’none’ xmlns=’http://www.w3.org/2000/svg’%3E%3Cpath fill-rule=’evenodd’ clip-rule=’evenodd’ d=’M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-icon-ctrl-select: url(“data:image/svg+xml,%3Csvg width=’10’ height=’6′ viewBox=’0 0 10 6′ fill=’none’ xmlns=’http://www.w3.org/2000/svg’%3E%3Cpath fill-rule=’evenodd’ clip-rule=’evenodd’ d=’M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-icon-ctrl-search: url(“data:image/svg+xml,%3Csvg version=’1.1′ xmlns=’http://www.w3.org/2000/svg’ width=’640′ height=’640’%3E%3Cpath d=’M256 128c-70.692 0-128 57.308-128 128 0 70.691 57.308 128 128 128 70.691 0 128-57.309 128-128 0-70.692-57.309-128-128-128zM64 256c0-106.039 85.961-192 192-192s192 85.961 192 192c0 41.466-13.146 79.863-35.498 111.248l154.125 154.125c12.496 12.496 12.496 32.758 0 45.254s-32.758 12.496-45.254 0L367.248 412.502C335.862 434.854 297.467 448 256 448c-106.039 0-192-85.962-192-192z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-label-space-y-secondary: var(–gf-label-space-y-md-secondary);–gf-ctrl-border-color: #686e77;–gf-ctrl-size: var(–gf-ctrl-size-md);–gf-ctrl-label-color-primary: #112337;–gf-ctrl-label-color-secondary: #112337;–gf-ctrl-choice-size: var(–gf-ctrl-choice-size-md);–gf-ctrl-checkbox-check-size: var(–gf-ctrl-checkbox-check-size-md);–gf-ctrl-radio-check-size: var(–gf-ctrl-radio-check-size-md);–gf-ctrl-btn-font-size: var(–gf-ctrl-btn-font-size-md);–gf-ctrl-btn-padding-x: var(–gf-ctrl-btn-padding-x-md);–gf-ctrl-btn-size: var(–gf-ctrl-btn-size-md);–gf-ctrl-btn-border-color-secondary: #686e77;–gf-ctrl-file-btn-bg-color-hover: #EBEBEB;–gf-field-pg-steps-number-color: rgba(17, 35, 55, 0.8);}

You are currently logged in, so we’ll automatically record your name and email address. Logout to use this form anonymously.
This field is for validation purposes and should be left unchanged.

document.getElementById( “ak_js_1” ).setAttribute( “value”, ( new Date() ).getTime() );

gform.initializeOnLoaded( function() {gformInitSpinner( 22, ‘https://lebtown.com/wp-content/plugins/gravityforms/images/spinner.svg’, true );jQuery(‘#gform_ajax_frame_22’).on(‘load’,function(){var contents = jQuery(this).contents().find(‘*’).html();var is_postback = contents.indexOf(‘GF_AJAX_POSTBACK’) >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find(‘#gform_wrapper_22’);var is_confirmation = jQuery(this).contents().find(‘#gform_confirmation_wrapper_22’).length > 0;var is_redirect = contents.indexOf(‘gformRedirect(){‘) >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery(‘html’).css(‘margin-top’), 10) + parseInt(jQuery(‘body’).css(‘margin-top’), 10) + 100;if(is_form){jQuery(‘#gform_wrapper_22’).html(form_content.html());if(form_content.hasClass(‘gform_validation_error’)){jQuery(‘#gform_wrapper_22’).addClass(‘gform_validation_error’);} else {jQuery(‘#gform_wrapper_22’).removeClass(‘gform_validation_error’);}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery(‘#gform_wrapper_22’).offset().top – mt); }, 50 );if(window[‘gformInitDatepicker’]) {gformInitDatepicker();}if(window[‘gformInitPriceFields’]) {gformInitPriceFields();}var current_page = jQuery(‘#gform_source_page_number_22’).val();gformInitSpinner( 22, ‘https://lebtown.com/wp-content/plugins/gravityforms/images/spinner.svg’, true );jQuery(document).trigger(‘gform_page_loaded’, [22, current_page]);window[‘gf_submitting_22’] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find(‘.GF_AJAX_POSTBACK’).html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery(‘#gform_wrapper_22’).replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery(‘#gf_22’).offset().top – mt);jQuery(document).trigger(‘gform_confirmation_loaded’, [22]);window[‘gf_submitting_22’] = false;wp.a11y.speak(jQuery(‘#gform_confirmation_message_22’).text());}, 50);}else{jQuery(‘#gform_22’).append(contents);if(window[‘gformRedirect’]) {gformRedirect();}}jQuery(document).trigger(“gform_pre_post_render”, [{ formId: “22”, currentPage: “current_page”, abort: function() { this.preventDefault(); } }]); if (event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( “gform_wrapper_22” ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( “span” ); visibilitySpan.id = “gform_visibility_test_22”; gformWrapperDiv.insertAdjacentElement( “afterend”, visibilitySpan ); } const visibilityTestDiv = document.getElementById( “gform_visibility_test_22” ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( ‘gform_post_render’, [22, current_page] ); gform.utils.trigger( { event: ‘gform/postRender’, native: false, data: { formId: 22, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === ‘attributes’ && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ ‘style’, ‘class’ ], }); } else { triggerPostRender(); } } );} );
#gform_wrapper_23[data-form-index=”0″].gform-theme,[data-parent-form=”23_0″]{–gf-color-primary: #204ce5;–gf-color-primary-rgb: 32, 76, 229;–gf-color-primary-contrast: #fff;–gf-color-primary-contrast-rgb: 255, 255, 255;–gf-color-primary-darker: #001AB3;–gf-color-primary-lighter: #527EFF;–gf-color-secondary: #fff;–gf-color-secondary-rgb: 255, 255, 255;–gf-color-secondary-contrast: #112337;–gf-color-secondary-contrast-rgb: 17, 35, 55;–gf-color-secondary-darker: #F5F5F5;–gf-color-secondary-lighter: #FFFFFF;–gf-color-out-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-out-ctrl-light-rgb: 17, 35, 55;–gf-color-out-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-out-ctrl-light-lighter: #F5F5F5;–gf-color-out-ctrl-dark: #585e6a;–gf-color-out-ctrl-dark-rgb: 88, 94, 106;–gf-color-out-ctrl-dark-darker: #112337;–gf-color-out-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-color-in-ctrl: #fff;–gf-color-in-ctrl-rgb: 255, 255, 255;–gf-color-in-ctrl-contrast: #112337;–gf-color-in-ctrl-contrast-rgb: 17, 35, 55;–gf-color-in-ctrl-darker: #F5F5F5;–gf-color-in-ctrl-lighter: #FFFFFF;–gf-color-in-ctrl-primary: #204ce5;–gf-color-in-ctrl-primary-rgb: 32, 76, 229;–gf-color-in-ctrl-primary-contrast: #fff;–gf-color-in-ctrl-primary-contrast-rgb: 255, 255, 255;–gf-color-in-ctrl-primary-darker: #001AB3;–gf-color-in-ctrl-primary-lighter: #527EFF;–gf-color-in-ctrl-light: rgba(17, 35, 55, 0.1);–gf-color-in-ctrl-light-rgb: 17, 35, 55;–gf-color-in-ctrl-light-darker: rgba(104, 110, 119, 0.35);–gf-color-in-ctrl-light-lighter: #F5F5F5;–gf-color-in-ctrl-dark: #585e6a;–gf-color-in-ctrl-dark-rgb: 88, 94, 106;–gf-color-in-ctrl-dark-darker: #112337;–gf-color-in-ctrl-dark-lighter: rgba(17, 35, 55, 0.65);–gf-radius: 3px;–gf-font-size-secondary: 14px;–gf-font-size-tertiary: 13px;–gf-icon-ctrl-number: url(“data:image/svg+xml,%3Csvg width=’8′ height=’14’ viewBox=’0 0 8 14′ fill=’none’ xmlns=’http://www.w3.org/2000/svg’%3E%3Cpath fill-rule=’evenodd’ clip-rule=’evenodd’ d=’M4 0C4.26522 5.96046e-08 4.51957 0.105357 4.70711 0.292893L7.70711 3.29289C8.09763 3.68342 8.09763 4.31658 7.70711 4.70711C7.31658 5.09763 6.68342 5.09763 6.29289 4.70711L4 2.41421L1.70711 4.70711C1.31658 5.09763 0.683417 5.09763 0.292893 4.70711C-0.0976311 4.31658 -0.097631 3.68342 0.292893 3.29289L3.29289 0.292893C3.48043 0.105357 3.73478 0 4 0ZM0.292893 9.29289C0.683417 8.90237 1.31658 8.90237 1.70711 9.29289L4 11.5858L6.29289 9.29289C6.68342 8.90237 7.31658 8.90237 7.70711 9.29289C8.09763 9.68342 8.09763 10.3166 7.70711 10.7071L4.70711 13.7071C4.31658 14.0976 3.68342 14.0976 3.29289 13.7071L0.292893 10.7071C-0.0976311 10.3166 -0.0976311 9.68342 0.292893 9.29289Z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-icon-ctrl-select: url(“data:image/svg+xml,%3Csvg width=’10’ height=’6′ viewBox=’0 0 10 6′ fill=’none’ xmlns=’http://www.w3.org/2000/svg’%3E%3Cpath fill-rule=’evenodd’ clip-rule=’evenodd’ d=’M0.292893 0.292893C0.683417 -0.097631 1.31658 -0.097631 1.70711 0.292893L5 3.58579L8.29289 0.292893C8.68342 -0.0976311 9.31658 -0.0976311 9.70711 0.292893C10.0976 0.683417 10.0976 1.31658 9.70711 1.70711L5.70711 5.70711C5.31658 6.09763 4.68342 6.09763 4.29289 5.70711L0.292893 1.70711C-0.0976311 1.31658 -0.0976311 0.683418 0.292893 0.292893Z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-icon-ctrl-search: url(“data:image/svg+xml,%3Csvg version=’1.1′ xmlns=’http://www.w3.org/2000/svg’ width=’640′ height=’640’%3E%3Cpath d=’M256 128c-70.692 0-128 57.308-128 128 0 70.691 57.308 128 128 128 70.691 0 128-57.309 128-128 0-70.692-57.309-128-128-128zM64 256c0-106.039 85.961-192 192-192s192 85.961 192 192c0 41.466-13.146 79.863-35.498 111.248l154.125 154.125c12.496 12.496 12.496 32.758 0 45.254s-32.758 12.496-45.254 0L367.248 412.502C335.862 434.854 297.467 448 256 448c-106.039 0-192-85.962-192-192z’ fill=’rgba(17, 35, 55, 0.65)’/%3E%3C/svg%3E”);–gf-label-space-y-secondary: var(–gf-label-space-y-md-secondary);–gf-ctrl-border-color: #686e77;–gf-ctrl-size: var(–gf-ctrl-size-md);–gf-ctrl-label-color-primary: #112337;–gf-ctrl-label-color-secondary: #112337;–gf-ctrl-choice-size: var(–gf-ctrl-choice-size-md);–gf-ctrl-checkbox-check-size: var(–gf-ctrl-checkbox-check-size-md);–gf-ctrl-radio-check-size: var(–gf-ctrl-radio-check-size-md);–gf-ctrl-btn-font-size: var(–gf-ctrl-btn-font-size-md);–gf-ctrl-btn-padding-x: var(–gf-ctrl-btn-padding-x-md);–gf-ctrl-btn-size: var(–gf-ctrl-btn-size-md);–gf-ctrl-btn-border-color-secondary: #686e77;–gf-ctrl-file-btn-bg-color-hover: #EBEBEB;–gf-field-pg-steps-number-color: rgba(17, 35, 55, 0.8);}
One-time Amount(Required)
Select how much you’d like to contribute
Price: $0.00
Price: $0.00

Your name

:root { –link-login-string: “Link login” }

document.getElementById( “ak_js_2” ).setAttribute( “value”, ( new Date() ).getTime() );

gform.initializeOnLoaded( function() {gformInitSpinner( 23, ‘https://lebtown.com/wp-content/plugins/gravityforms/images/spinner.svg’, true );jQuery(‘#gform_ajax_frame_23’).on(‘load’,function(){var contents = jQuery(this).contents().find(‘*’).html();var is_postback = contents.indexOf(‘GF_AJAX_POSTBACK’) >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find(‘#gform_wrapper_23’);var is_confirmation = jQuery(this).contents().find(‘#gform_confirmation_wrapper_23’).length > 0;var is_redirect = contents.indexOf(‘gformRedirect(){‘) >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery(‘html’).css(‘margin-top’), 10) + parseInt(jQuery(‘body’).css(‘margin-top’), 10) + 100;if(is_form){jQuery(‘#gform_wrapper_23’).html(form_content.html());if(form_content.hasClass(‘gform_validation_error’)){jQuery(‘#gform_wrapper_23’).addClass(‘gform_validation_error’);} else {jQuery(‘#gform_wrapper_23’).removeClass(‘gform_validation_error’);}setTimeout( function() { /* delay the scroll by 50 milliseconds to fix a bug in chrome */ jQuery(document).scrollTop(jQuery(‘#gform_wrapper_23’).offset().top – mt); }, 50 );if(window[‘gformInitDatepicker’]) {gformInitDatepicker();}if(window[‘gformInitPriceFields’]) {gformInitPriceFields();}var current_page = jQuery(‘#gform_source_page_number_23’).val();gformInitSpinner( 23, ‘https://lebtown.com/wp-content/plugins/gravityforms/images/spinner.svg’, true );jQuery(document).trigger(‘gform_page_loaded’, [23, current_page]);window[‘gf_submitting_23’] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find(‘.GF_AJAX_POSTBACK’).html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery(‘#gform_wrapper_23’).replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery(‘#gf_23’).offset().top – mt);jQuery(document).trigger(‘gform_confirmation_loaded’, [23]);window[‘gf_submitting_23’] = false;wp.a11y.speak(jQuery(‘#gform_confirmation_message_23’).text());}, 50);}else{jQuery(‘#gform_23’).append(contents);if(window[‘gformRedirect’]) {gformRedirect();}}jQuery(document).trigger(“gform_pre_post_render”, [{ formId: “23”, currentPage: “current_page”, abort: function() { this.preventDefault(); } }]); if (event.defaultPrevented) { return; } const gformWrapperDiv = document.getElementById( “gform_wrapper_23” ); if ( gformWrapperDiv ) { const visibilitySpan = document.createElement( “span” ); visibilitySpan.id = “gform_visibility_test_23”; gformWrapperDiv.insertAdjacentElement( “afterend”, visibilitySpan ); } const visibilityTestDiv = document.getElementById( “gform_visibility_test_23” ); let postRenderFired = false; function triggerPostRender() { if ( postRenderFired ) { return; } postRenderFired = true; jQuery( document ).trigger( ‘gform_post_render’, [23, current_page] ); gform.utils.trigger( { event: ‘gform/postRender’, native: false, data: { formId: 23, currentPage: current_page } } ); if ( visibilityTestDiv ) { visibilityTestDiv.parentNode.removeChild( visibilityTestDiv ); } } function debounce( func, wait, immediate ) { var timeout; return function() { var context = this, args = arguments; var later = function() { timeout = null; if ( !immediate ) func.apply( context, args ); }; var callNow = immediate && !timeout; clearTimeout( timeout ); timeout = setTimeout( later, wait ); if ( callNow ) func.apply( context, args ); }; } const debouncedTriggerPostRender = debounce( function() { triggerPostRender(); }, 200 ); if ( visibilityTestDiv && visibilityTestDiv.offsetParent === null ) { const observer = new MutationObserver( ( mutations ) => { mutations.forEach( ( mutation ) => { if ( mutation.type === ‘attributes’ && visibilityTestDiv.offsetParent !== null ) { debouncedTriggerPostRender(); observer.disconnect(); } }); }); observer.observe( document.body, { attributes: true, childList: false, subtree: true, attributeFilter: [ ‘style’, ‘class’ ], }); } else { triggerPostRender(); } } );} ); const turnstileIframe = document.getElementById( ‘gform_ajax_frame_23’ ); if ( turnstileIframe ) { turnstileIframe.addEventListener(‘load’,function(){ setTimeout( function() { const cfWrapper = document.querySelector( ‘.cf-turnstile’ ); if ( ! cfWrapper ) { return; } turnstile.render( ‘.cf-turnstile’ ); }, 0 ); }); }

Josh Groh is a Cornwall native and writer who began reporting for LebTown in 2019. He continued to regularly contribute to LebTown while earning a degree in environmental science at Lebanon Valley College, graduating in 2021. Since then, he has lead conservation crews in Colorado and taken on additional...

Comments

LebTown membership required to comment.

Already a member? Login here

Leave a comment

Your email address will be kept private.