From cba0f7773278c5b28b4d5b9f45693ee7a9fd0b92 Mon Sep 17 00:00:00 2001 From: Kibi Kelburton Date: Fri, 17 Jul 2026 17:01:49 +0200 Subject: [PATCH] bvdx --- public/s/css/f0ckm.css | 1 + public/s/js/f0ckm.js | 7 ++++--- views/user-partial.html | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/public/s/css/f0ckm.css b/public/s/css/f0ckm.css index 2fa0979..9ecb11a 100644 --- a/public/s/css/f0ckm.css +++ b/public/s/css/f0ckm.css @@ -16822,3 +16822,4 @@ a.lazy-thumb.filtered-upload-ghost:hover::after { .edit-mode-active .avatar-image-wrapper .profile-avatar-img:hover { filter: brightness(0.6); } +.edit-mode-active #inline-banner-edit-wrapper { display: block !important; } diff --git a/public/s/js/f0ckm.js b/public/s/js/f0ckm.js index 662ce88..6bafa76 100644 --- a/public/s/js/f0ckm.js +++ b/public/s/js/f0ckm.js @@ -7409,14 +7409,15 @@ class NotificationSystem { } if (userName) { - const userHref = `/user/${userName}`; + const lowerHref = `/user/${userName.toLowerCase()}`; + const exactHref = `/user/${userName}`; // Sidebar / thread comment author links - document.querySelectorAll(`.comment-author[href="${userHref}"]`).forEach(el => { + document.querySelectorAll(`.comment-author[href="${lowerHref}"], .comment-author[href="${exactHref}"]`).forEach(el => { el.textContent = display_name || userName; }); // Item view: the [username] link next to the item ID const aUsername = document.getElementById('a_username'); - if (aUsername && aUsername.getAttribute('href') === userHref) { + if (aUsername && (aUsername.getAttribute('href') === lowerHref || aUsername.getAttribute('href') === exactHref)) { aUsername.textContent = display_name || userName; } // Grid thumbnails: update data-user attribute (shown as CSS content on hover) diff --git a/views/user-partial.html b/views/user-partial.html index 8637155..39ed011 100644 --- a/views/user-partial.html +++ b/views/user-partial.html @@ -1,7 +1,7 @@
@if(session && session.id === user.user_id && user_banner_enabled) -
+