We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0d4e57 commit 33c46acCopy full SHA for 33c46ac
unbxdSearch.js
@@ -683,7 +683,7 @@ var unbxdSearchInit = function(jQuery, Handlebars){
683
if(this.options.isAutoScroll){
684
jQuery(window).scroll(function() {
685
var wind = jQuery(window),docu = jQuery(document);
686
- if( wind.scrollTop() + window.innerHeight > doc.height() - self.options.heightDiffToTriggerNextPage && self.currentNumberOfProducts < self.totalNumberOfProducts && !self.isLoading){
+ if((wind.scrollTop()) > (docu.height() - wind.height() - self.options.heightDiffToTriggerNextPage) && self.currentNumberOfProducts < self.totalNumberOfProducts && !self.isLoading){
687
self.setPage(self.getPage() + 1)
688
.callResults(self.paintProductPage);
689
}
0 commit comments