Fix exist photos tag
This commit is contained in:
parent
e41ccc5549
commit
e0ebd28dcb
@ -185,6 +185,12 @@ jQuery(document).ready(function($)
|
||||
selectedYears = [];
|
||||
selectedDimensions = [];
|
||||
selectedPhotos = params.photo;
|
||||
if (selectedPhotos.includes("exist"))
|
||||
{
|
||||
if (selectedPhotos.indexOf("bad") === -1) selectedPhotos.push("bad");
|
||||
if (selectedPhotos.indexOf("ok") === -1) selectedPhotos.push("ok");
|
||||
if (selectedPhotos.indexOf("good") === -1) selectedPhotos.push("good");
|
||||
}
|
||||
selectedMonths = params.month;
|
||||
selectedGenres = params.genre;
|
||||
selectedThemes = params.theme;
|
||||
|
Loading…
Reference in New Issue
Block a user