diff --git a/html/src/app.js b/html/src/app.js index a4fc9a6f..34cec2a8 100644 --- a/html/src/app.js +++ b/html/src/app.js @@ -2985,8 +2985,9 @@ speechSynthesis.getVoices(); }; API.refreshFavoriteAvatars = function (tag) { + var n = Math.floor(Math.random() * (50 + 1)) + 50; var params = { - n: 100, + n, offset: 0, tag }; @@ -3017,22 +3018,24 @@ speechSynthesis.getVoices(); if (N > 0) { if (type === 'avatar') { for (var tag of tags) { + var n = Math.floor(Math.random() * (50 + 1)) + 50; this.bulk({ fn, N, params: { - n: 100, + n, offset: 0, tag } }); } } else { + var n = Math.floor(Math.random() * (50 + 1)) + 50; this.bulk({ fn, N, params: { - n: 50, + n, offset: 0 } });