mirror of
https://github.com/simon987/sist2.git
synced 2025-04-20 10:46:45 +00:00
UI tweak
This commit is contained in:
parent
c02b940945
commit
e1aaaee617
File diff suppressed because one or more lines are too long
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user