forked from MarseyWorld/MarseyWorld
fix picking background
parent
4480e454f8
commit
b18e43487c
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue