Moves thumbnail title attribute from a to img (#41272).

Patch by Jens Krämer (user:jkraemer).


git-svn-id: https://svn.redmine.org/redmine/trunk@23065 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Go MAEDA
2024-09-20 10:24:53 +00:00
parent 52deba3abf
commit bf5ba9b24f
2 changed files with 3 additions and 3 deletions

View File

@@ -351,12 +351,12 @@ module ApplicationHelper
thumbnail_path,
:srcset => "#{thumbnail_path} 2x",
:style => "max-width: #{thumbnail_size}px; max-height: #{thumbnail_size}px;",
:title => attachment.filename,
:loading => "lazy"
),
attachment_path(
attachment
),
:title => attachment.filename
)
)
end