Fix visual appearance of "disponible" photos in explorer
This commit is contained in:
parent
862a7348e6
commit
e41ccc5549
@ -116,10 +116,13 @@ function updateMenu(availableOptions)
|
||||
{
|
||||
if ($(this).prop("value") != "all" && $(this).prop("value") != "exist")
|
||||
$(this).parent().addClass("filter");
|
||||
|
||||
// special case for "exist" in photos
|
||||
if ($(this).prop("value") == "exist")
|
||||
$(this).parent().removeClass("filter");
|
||||
if ($(this).prop("value") == "exist") // special case for "exist" in photos
|
||||
{
|
||||
if (array.includes("none") && !array.includes("bad") && !array.includes("ok") && !array.includes("good"))
|
||||
$(this).parent().addClass("filter");
|
||||
else
|
||||
$(this).parent().removeClass("filter");
|
||||
}
|
||||
}
|
||||
else
|
||||
$(this).parent().removeClass("filter");
|
||||
|
Loading…
Reference in New Issue
Block a user