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