This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Problem (Conflict) with scroll bars

#9549
Ernest MarcinkoErnest 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.