Reply To: Problem (Conflict) with scroll bars

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Problem (Conflict) with scroll bars Reply To: Problem (Conflict) with scroll bars

Ernest Marcinko
Ernest Marcinko


Thank you, I was able to find a solution.

For future reference, I’ve changed lines 132-138 in the wp-content\plugins\ajax-search-pro\includes\classes\core\class-asp-init.php file to:

if ( 
  !wp_script_is('berocket_aapf_widget-scroll-script') && 
  !wp_script_is('berocket_aapf_widget-scroll-script', 'registered')
) {
  wp_register_script('wpdreams-scroll', ASP_URL . 'js/' . $js_source . '/jquery.mCustomScrollbar.js', array($prereq), $media_query, $load_in_footer);

The problem might have been caused because ajax search pro uses a newer version of the scrollbar script. Luckily it’s backwards compatible, so it will work with the older version as well.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)