forked from DebaucheryLibrarian/traxxx
Moved all tag photos to public asset directory.
This commit is contained in:
@@ -28,6 +28,10 @@ function getPoster(posterElement, sceneId) {
|
||||
const posterRangeData = posterRange ? JSON.parse(posterRange) : null;
|
||||
const posterTimeRange = posterRangeData[Math.floor(Math.random() * posterRangeData.length)];
|
||||
|
||||
if (!posterTimeRange) {
|
||||
return null;
|
||||
}
|
||||
|
||||
if (typeof posterTimeRange === 'number') {
|
||||
// poster time is already a single time value
|
||||
return `https://legalporno.com/casting/${sceneId}/${posterTimeRange}`;
|
||||
|
||||
Reference in New Issue
Block a user