Skip to content

Commit

Permalink
Merge pull request #54 from ConvertGroupsAS/feature/prevent-underscor…
Browse files Browse the repository at this point in the history
…e-url

 Add cache options for prevent underscore in URLs
gsomoza authored Feb 10, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
2 parents 76b255a + 183715a commit 57f3e52
Showing 2 changed files with 8 additions and 5 deletions.
3 changes: 3 additions & 0 deletions view/frontend/web/js/infinitescroll.js
Original file line number Diff line number Diff line change
@@ -77,6 +77,9 @@ define([
SgyIAS._log({eventName: 'scroll', scrollOffset: scrollOffset, scrollThreshold: scrollThreshold});
});
window.ias.on('load', function(event){
if (event.ajaxOptions) {
event.ajaxOptions.cache = true;
}
SgyIAS._log({eventName:'load', event: event});
});
window.ias.on('loaded', function(data, items){
10 changes: 5 additions & 5 deletions view/frontend/web/js/jquery-ias.min.js

0 comments on commit 57f3e52

Please sign in to comment.