Fix exist photos tag
This commit is contained in:
parent
e41ccc5549
commit
e0ebd28dcb
@ -185,6 +185,12 @@ jQuery(document).ready(function($)
|
|||||||
selectedYears = [];
|
selectedYears = [];
|
||||||
selectedDimensions = [];
|
selectedDimensions = [];
|
||||||
selectedPhotos = params.photo;
|
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;
|
selectedMonths = params.month;
|
||||||
selectedGenres = params.genre;
|
selectedGenres = params.genre;
|
||||||
selectedThemes = params.theme;
|
selectedThemes = params.theme;
|
||||||
|
Loading…
Reference in New Issue
Block a user