Hi,
Simple custom jQuery is fine.
What you have is two things there, you have the plugin script and then the jQuery document ready function. The script needs to be properly loaded with the other JS scripts to avoid conflicts, the below document ready can likely stay as is as that is fine:
jQuery( document ).ready( function ( $ ) {
var window_width = jQuery( window ).width();
if ( window_width > 768 ) {
$( '.call-to-action' ).sticky( { topSpacing: 54 } );
}
});
Right now your JS is causing conflicts, I am not sure why now though. I know that with recent updates there is less room for HTML/JS errors, unvalidated code ect. That is what the below JS error relates to normally.
Thanks.