This commit is contained in:
2019-10-27 13:33:55 -04:00
parent 9b7c56a608
commit bdbd7ca7ed
9 changed files with 297 additions and 284 deletions

View File

@@ -129,6 +129,7 @@ function createDocCard(hit) {
});
} else if ((hit["_source"].hasOwnProperty("width") && hit["_source"]["width"] > 20 && hit["_source"]["height"] > 20)
|| hit["_source"]["mime"] === "application/pdf"
|| hit["_source"]["mime"] === "application/x-cbz"
|| hit["_source"].hasOwnProperty("font_name")
) {
thumbnail = document.createElement("img");