fix picking background

master
Aevann 2023-01-01 11:58:37 +02:00
parent 4480e454f8
commit b18e43487c
1 changed files with 1 additions and 0 deletions

View File

@ -92,6 +92,7 @@ function updatebgselection(){
str += `<button class="btn btn-secondary bg-button"><img loading="lazy" class='bg-image' src="/i/backgrounds/${bgsDir}/${bgsToDisplay[i]}?v=2000" alt="${bgsToDisplay[i]}-background" data-nonce="${nonce}" data-onclick="post('/settings/personal?background=${onclickPost}')"></button>`;
}
bgContainer.innerHTML = str;
register_new_elements(bgContainer);
}
updatebgselection();