Open links to images in the same tab
Just like we did for documents in commit cdc5e05d4.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
<% answer.images.reverse.each_with_index do |image, index| %>
|
||||
<li class="orbit-slide <%= is_active_class(index) %>">
|
||||
<%= link_to image.attachment, target: "_blank" do %>
|
||||
<%= link_to image.attachment do %>
|
||||
<%= image_tag image.attachment,
|
||||
class: "orbit-image",
|
||||
alt: image.title.unicode_normalize %>
|
||||
|
||||
Reference in New Issue
Block a user