Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
window.lazyprocess22 = 'yes';
jQuery(window).on('resize scroll', function() {
if (jQuery('.et_pb_section_3').isInViewport()) {
if (window.lazyprocess22 == 'yes') {
window.lazyprocess22 = 'no';
jQuery('div.et_pb_section.et_pb_section_3').css('background-image', 'url(https://infocus.org/wp-content/uploads/2020/03/background-Local@2x.png)');
}
}
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment