diff --git a/public/s/css/f0ckm.css b/public/s/css/f0ckm.css index ea65033..0255f6f 100644 --- a/public/s/css/f0ckm.css +++ b/public/s/css/f0ckm.css @@ -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; diff --git a/public/s/js/f0ckm.js b/public/s/js/f0ckm.js index c675821..9af707a 100644 --- a/public/s/js/f0ckm.js +++ b/public/s/js/f0ckm.js @@ -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'); diff --git a/views/item-partial-legacy.html b/views/item-partial-legacy.html index f8d05b7..9ba7d38 100644 --- a/views/item-partial-legacy.html +++ b/views/item-partial-legacy.html @@ -102,7 +102,7 @@
- +