From 86b96e7a74a4e6f91dd7f8c1847eab27b55945c6 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 17 Sep 2026 11:24:34 +0800 Subject: [PATCH] up --- modules/gallery/show.html.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/modules/gallery/show.html.erb b/modules/gallery/show.html.erb index 96dbae8..d50c9f5 100644 --- a/modules/gallery/show.html.erb +++ b/modules/gallery/show.html.erb @@ -37,6 +37,13 @@ $img.attr('alt', albumTitle + (index + 1)); } }); + $('.show-pic a').each(function() { + var $a = $(this); + var currentTitle = ($a.attr('title') || '').trim(); + if (currentTitle === 'gallery image' || currentTitle === '') { + $a.removeAttr('title'); + } + }); }, 500); \ No newline at end of file