Skip to content

Commit 4951f3b

Browse files
author
Dedestem
committed
Fix?
1 parent 83eac6a commit 4951f3b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

account/index.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ <h2 id="hello" class="lefttext">Loading</h2>
3333
<button id="delete-account-btn" class="danger-btn">Delete account</button>
3434
<br style="margin-top: 30px;">
3535
<a class="abutton" href="https://account.davidnet.net/pages/usercontent/upload/?type=profile_picture&redirect=https://account.davidnet.net/links/change_profile_picture/">Change profile picture</a>
36-
<a id="goprofile" class="abutton" href="https://account.davidnet.net/user?id=">View profile</a>
36+
<br style="margin-top: 15px;">
37+
<a id="goprofile" class="abutton" href="">View profile</a>
3738
<br style="margin-top: 10px;">
3839
<h3>Manage your 2FA:</h3>
3940
<button style="display: none;" id="enable-totp-btn">Enable TOTP</button>

account/main.js

+1
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@ async function updateUserInfo() {
290290
document.getElementById("email").textContent = `Email: ${email}`;
291291
document.getElementById("creationdate").textContent = `UTC Creation date: ${formatUTCDate(creationDate)}`;
292292
document.getElementById("goprofile").href = `https://account.davidnet.net/user/id?=${userid}`;
293+
293294
await loadprofilepicture(userid);
294295
} catch (error) {
295296
console.error("Failed to fetch user info:", error);

0 commit comments

Comments
 (0)