unfinished checkupdate changes (needs fixing(soon))

This commit is contained in:
2024-11-21 00:58:15 +13:00
parent 7afc0d006c
commit dc84d9b503
2 changed files with 4 additions and 4 deletions

View File

@ -42,7 +42,7 @@ async function checkOtherInstances() {
const instanceUrl = randomInstance.url;
// Set the href of the <a> tag to the instance URL with path included
document.getElementById('random-instance').href = instanceUrl + window.location.pathname;
document.getElementById('random-instance').innerText = "Visit Random Instance";
//document.getElementById('random-instance').innerText = "Visit Random Instance";
} catch (error) {
console.error('Error fetching instances:', error);
document.getElementById('update-status').innerText = '⚠️ Error checking update status.';