Forums › Forums › Search & Filter Pro › Duplicates in ajax infinite scroll results
Tagged: V3
- This topic has 26 replies, 3 voices, and was last updated 4 years, 7 months ago by
Ross.
-
Trevor(Private) November 26, 2020 at 4:50 pm #267973
I edited the theme search.php file to add some parts:
https://www.screencast.com/t/xHUvenOq
And edited the form:
https://www.screencast.com/t/hRTltSVeHg
The last two settings are empty, as the classes I added in the search.php template were our ‘default’ ones.
Does this work any better?
Trevor(Private) December 24, 2020 at 4:06 pm #271075I think, looking at the error, which is this:
search-filter-build.min.js?ver=2.5.3:2 Uncaught TypeError: Cannot read property 'toLowerCase' of undefined at HTMLFormElement.updateLoaderTag (search-filter-build.min.js?ver=2.5.3:2) at HTMLFormElement.loadMoreResults (search-filter-build.min.js?ver=2.5.3:2) at onWindowScroll (search-filter-build.min.js?ver=2.5.3:2) at dispatch (jquery.min.js?ver=3.5.1:2) at v.handle (jquery.min.js?ver=3.5.1:2)
This, if you look at the non-minified version of that JS file, is on line 2769:
var this_tag = $cthis.prop("tagName").toLowerCase();
That makes me think that it might be the custom JavaScript that turns the field headers into ‘accordion’ type dropdowns. So, can you try removing that code to see?
-
AuthorPosts