Spinner and multiple search forms

[ad_1]

Hi,
I just installed version 2.0.1.
I have multiple search forms in my page, each has a associated <div> with results. It works perfectly with ‘data-rlvparentel’. But each results div has its spinner, and the JavaScript code only works for the first one.
I tried updating script.js:
`show_spinner: function (element) {
element.find(‘#relevanssi-live-ajax-search-spinner’).addClass(‘rlv-has-spinner’);
},(withself.results_el` as param). I can thus show the spinner.
But to remove, it’s difficult.
jQuery('#relevanssi-live-ajax-search-spinner') does not iterate for each element because ‘relevanssi-live-ajax-search-spinner’ is an ID (uniq), not a class.
Could you help me?

The page I need help with: [log in to see the link]

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer