mirror of
https://github.com/redmine/redmine.git
synced 2026-05-07 01:07:24 +02:00
Fix rapid flickering of placeholder icon for non-existent thumbnails on hover (#42084).
Patch by Mizuki ISHIKAWA (user:ishikawa999). git-svn-id: https://svn.redmine.org/redmine/trunk@23452 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -1921,8 +1921,8 @@ class ApplicationHelperTest < Redmine::HelperTest
|
||||
a = Attachment.find(3)
|
||||
assert_select_in(
|
||||
thumbnail_tag(a),
|
||||
'a[href=?] img[title=?][src=?][loading="lazy"]',
|
||||
"/attachments/3", "logo.gif", "/attachments/thumbnail/3/200")
|
||||
'a[href=?] img[title=?][alt=?][src=?][loading="lazy"]',
|
||||
"/attachments/3", "logo.gif", "logo.gif", "/attachments/thumbnail/3/200")
|
||||
end
|
||||
|
||||
def test_link_to_project
|
||||
|
||||
Reference in New Issue
Block a user