Add image viewer (#2)

This commit is contained in:
2020-02-14 18:28:55 -05:00
parent 7f6f3c02fa
commit 2934ddb07f
6 changed files with 84 additions and 8 deletions

View File

@@ -406,6 +406,10 @@ function search(after = null) {
let resultContainer = makeResultContainer();
searchResults.appendChild(resultContainer);
window.setTimeout(() => {
$(".sp").SmartPhoto({animationSpeed: 200});
}, 100);
if (!after) {
docCount = 0;
}