Skip to content

Fixes #225971: Display speech bubble icon when hovering image in Commits page

What does this MR do?

The speech bubble icon was not displaying on image hover on the commits page. This was due to a css selector setting the cursor property to auto if a .files element did not have an attribute of data-can-create-note equal to true. The issue is that this attribute never contains a value of true, it either exists if a user can create notes or doesn't exist if a user cannot create notes. This MR updates the selector to simply check that the attribute exists.

Closes #225971 (closed)

Merge request reports