• Resolved genevieve28

    (@genevieve28)


    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]

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Spinner and multiple search forms’ is closed to new replies.