I have the problem in jQuery, it tells me that affix is not a function, I already did everything I know and more and even then I could not solve it .. can you help me?
jQuery(document).ready(function($){
if ( ($(window).height() + 100) < $(document).height() ) {
$('#cta-buttons-wrapper').removeClass('hidden').affix({
offset: {
top: 100
}
});
}
});