Skip to content

Commit

Permalink
Load images immediately when searching (2factorauth#4408)
Browse files Browse the repository at this point in the history
  • Loading branch information
phallobst authored and Carlgo11 committed Dec 14, 2019
1 parent 7a51985 commit 2ab41b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,9 @@ var jets = new Jets({
$('#no-results').css('display', 'block');
}

// Display images that came into view by searching
$('img').Lazy({visibleOnly: true});

isSearching = true;
}
},
Expand Down

0 comments on commit 2ab41b5

Please sign in to comment.