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