July 19, 2016 at 11:21 am
#9549
Ernest Marcinko
Keymaster
Hi!
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:
[php]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);
wp_enqueue_script(‘wpdreams-scroll’);
}[/php]
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.