Skip to content

Commit

Permalink
fix custom pictures bug
Browse files Browse the repository at this point in the history
  • Loading branch information
petersem committed Mar 1, 2024
1 parent b4b6174 commit b04d41a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions classes/custom/pictures.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,12 +74,13 @@ class Pictures {
pictures.push(pic);
});
// shuffle pictures array
pictures = pictures.sort((a, b) => 0.5 - Math.random());
//pictures = pictures.sort((a, b) => 0.5 - Math.random());
// pictures.forEach(p => {
// console.log(p.url);

// });
// return pictures;

return pictures;

});
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posterr",
"version": "1.17.8",
"version": "1.17.9",
"description": "A digital display for your media",
"main": "index.js",
"bin": "index.js",
Expand Down

0 comments on commit b04d41a

Please sign in to comment.