From 4eb3f79b547316e76db9c77b42e9b4765ff33452 Mon Sep 17 00:00:00 2001 From: ken Date: Thu, 17 Sep 2026 11:33:28 +0800 Subject: [PATCH] up --- modules/gallery/show.html.erb | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/gallery/show.html.erb b/modules/gallery/show.html.erb index d50c9f5..c1e044c 100644 --- a/modules/gallery/show.html.erb +++ b/modules/gallery/show.html.erb @@ -37,13 +37,7 @@ $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'); - } - }); + $('.show-pic a').removeAttr('title'); }, 500); \ No newline at end of file