Skip to content

Commit 57f3e52

Browse files
author
Gabriel Somoza
authored
Merge pull request #54 from ConvertGroupsAS/feature/prevent-underscore-url
Add cache options for prevent underscore in URLs
2 parents 76b255a + 183715a commit 57f3e52

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

view/frontend/web/js/infinitescroll.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ define([
7777
SgyIAS._log({eventName: 'scroll', scrollOffset: scrollOffset, scrollThreshold: scrollThreshold});
7878
});
7979
window.ias.on('load', function(event){
80+
if (event.ajaxOptions) {
81+
event.ajaxOptions.cache = true;
82+
}
8083
SgyIAS._log({eventName:'load', event: event});
8184
});
8285
window.ias.on('loaded', function(data, items){

0 commit comments

Comments
 (0)