1
0
forked from w0bm/f0bm

another possible fix for fav randoming

This commit is contained in:
x
2026-01-23 22:06:57 +01:00
parent 03f2630090
commit 0a5f57b5a9
2 changed files with 5 additions and 1 deletions

View File

@@ -381,7 +381,7 @@ window.requestAnimFrame = (function () {
const wUserMatch = window.location.href.match(/\/user\/([^/]+)/);
if (wUserMatch) {
params.append('user', decodeURIComponent(wUserMatch[1]));
if (window.location.href.includes('/favs/')) {
if (window.location.href.match(/\/favs(\/|$|\?)/)) {
params.append('fav', 'true');
}
}