mirror of
https://github.com/simon987/sist2.git
synced 2025-12-13 23:39:04 +00:00
UI tweak
This commit is contained in:
@@ -76,7 +76,7 @@ function shouldPlayVideo(hit) {
|
||||
}
|
||||
|
||||
function shouldDisplayRawImage(hit) {
|
||||
return hit["_source"]["videoc"] !== "tiff";
|
||||
return hit["_source"]["mime"] && hit["_source"]["mime"].startsWith("image/") && hit["_source"]["videoc"] !== "tiff";
|
||||
}
|
||||
|
||||
function makePlaceholder(w, h, small) {
|
||||
|
||||
Reference in New Issue
Block a user