Essential Grid Not fully loading

Hello

We have created a page with an accordion and within it has essential gird

For some reason, the grid is not fully loading

It’s throwing this error

(index):1904 Uncaught TypeError: $ is not a function
at (index):1904

Would you mind taking a peek?

Thanks

Hello Adwin,

Thanks for writing in!

There is a JS error on the page. It is coming from your custom JS added in the Theme Options. Please have your code updated and use this one instead:

jQuery(document).ready(function($) {
  var currentYear = (new Date).getFullYear();
  jQuery("span#year").text( (new Date).getFullYear() );
});

(function($){
  $('a.x-accordion-toggle').on('click', function() {
    setTimeout ( function() { $(window).trigger('resize') }, 300 );
  });
    
  $('div.accordion-galleries .vc_tta-panel-heading h4.vc_tta-panel-title a').on('click', function() {
    setTimeout ( function() { $(window).trigger('resize'); }, 300 );
  });  
})(jQuery);


We would love to know if this has worked for you. Thank you.

that worked perfectly, thank you so much!

You are most welcome!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.