diff options
author | Go MAEDA <maeda@farend.jp> | 2024-09-20 10:24:53 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2024-09-20 10:24:53 +0000 |
commit | bf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf (patch) | |
tree | 942225e9048d745dbe3f37961190ebf41c0189f7 /app/helpers | |
parent | 52deba3abf4753777d189b379df3acec723c7bce (diff) | |
download | redmine-bf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf.tar.gz redmine-bf5ba9b24fbc3d98dc7e1475c8a77efeb4c90ecf.zip |
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
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 7e13c995c..b11619088 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 |