diff --git a/Web/Models/Entities/User.php b/Web/Models/Entities/User.php index 66b93713..40ef7aef 100644 --- a/Web/Models/Entities/User.php +++ b/Web/Models/Entities/User.php @@ -1267,14 +1267,14 @@ class User extends RowModel $entityIds[] = $_rel->model == "openvk\\Web\\Models\\Entities\\Club" ? $_rel->target * -1 : $_rel->target; } - $entityIds = array_slice($entityIds, 0, 10); - if($shuffle) { $shuffleSeed = openssl_random_pseudo_bytes(6); $shuffleSeed = hexdec(bin2hex($shuffleSeed)); $entityIds = knuth_shuffle($entityIds, $shuffleSeed); } + + $entityIds = array_slice($entityIds, 0, 10); $returnArr = []; diff --git a/Web/static/js/al_music.js b/Web/static/js/al_music.js index 85952a00..691b6edb 100644 --- a/Web/static/js/al_music.js +++ b/Web/static/js/al_music.js @@ -651,10 +651,10 @@ document.addEventListener("DOMContentLoaded", function() { entries.forEach(x => { if(x.isIntersecting) { document.querySelector('.bigPlayer').classList.remove("floating") - document.querySelector('.searchOptions .searchList').classList.remove("floating") + //document.querySelector('.searchOptions .searchList').classList.remove("floating") document.querySelector('.bigPlayerDetector').style.marginTop = "0px" } else { - document.querySelector('.searchOptions .searchList').classList.add("floating") + //document.querySelector('.searchOptions .searchList').classList.add("floating") document.querySelector('.bigPlayer').classList.add("floating") document.querySelector('.bigPlayerDetector').style.marginTop = "46px" }