fix viewmore

master
Aevann 2023-01-01 17:31:40 +02:00
parent 096ec92350
commit e83f36eca4
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ function view_more(pid,sort,offset,ids) {
btn.innerHTML = "Requesting...";
const form = new FormData();
const xhr = new XMLHttpRequest();
ids = ids.replace(/[\[\]]/g, '')
ids = ids.toString().replace(/[\[\]]/g, '')
xhr.open("get", `/view_more/${pid}/${sort}/${offset}?ids=${ids}`);
xhr.setRequestHeader('xhr', 'xhr');
xhr.onload=function(){