mirror of
https://github.com/simon987/Simple-Incremental-Search-Tool.git
synced 2025-12-17 00:59:05 +00:00
Bug fixes + multi threading
This commit is contained in:
@@ -267,7 +267,7 @@ function createDocCard(hit) {
|
||||
}
|
||||
thumbnailOverlay.appendChild(resolutionBadge);
|
||||
|
||||
var format = hit["_source"]["format"];
|
||||
var format = hit["_source"]["format_name"];
|
||||
|
||||
//Hover
|
||||
if(format === "GIF") {
|
||||
@@ -429,6 +429,8 @@ window.addEventListener("scroll", function () {
|
||||
if (hits.length !== 0) {
|
||||
coolingDown = false;
|
||||
}
|
||||
} else if (this.status === 500) {
|
||||
window.location.reload()
|
||||
}
|
||||
};
|
||||
xhttp.open("GET", "/scroll?scroll_id=" + scroll_id, true);
|
||||
|
||||
Reference in New Issue
Block a user