Feature #41272 » 0001-moves-thumbnail-title-attribute-from-a-to-img.patch
| app/helpers/application_helper.rb | ||
|---|---|---|
| 325 | 325 |
thumbnail_path, |
| 326 | 326 |
:srcset => "#{thumbnail_path} 2x",
|
| 327 | 327 |
:style => "max-width: #{thumbnail_size}px; max-height: #{thumbnail_size}px;",
|
| 328 |
:title => attachment.filename, |
|
| 328 | 329 |
:loading => "lazy" |
| 329 | 330 |
), |
| 330 | 331 |
attachment_path( |
| 331 | 332 |
attachment |
| 332 |
), |
|
| 333 |
:title => attachment.filename |
|
| 333 |
) |
|
| 334 | 334 |
) |
| 335 | 335 |
end |
| 336 | 336 | |