QoL enhacement
This commit is contained in:
@@ -13454,6 +13454,17 @@ textarea#profile_description {
|
||||
letter-spacing: 0.5px;
|
||||
}
|
||||
|
||||
.timestamp-link {
|
||||
color: inherit;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.timestamp-link:hover {
|
||||
text-decoration: underline;
|
||||
color: var(--accent);
|
||||
}
|
||||
|
||||
|
||||
.user-infobox-description {
|
||||
font-size: 0.9em;
|
||||
line-height: 1.5;
|
||||
|
||||
@@ -848,6 +848,15 @@ window.cancelAnimFrame = (function () {
|
||||
}
|
||||
});
|
||||
|
||||
// Prevent left-click navigation on timestamp links
|
||||
document.addEventListener('click', (e) => {
|
||||
if (e.target.closest('.timestamp-link')) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
e.stopImmediatePropagation();
|
||||
}
|
||||
}, true);
|
||||
|
||||
// Modal Logic (Login, Forgot, Reset, Register)
|
||||
const loginBtn = document.getElementById('nav-login-btn');
|
||||
const loginModal = document.getElementById('login-modal');
|
||||
|
||||
Reference in New Issue
Block a user