fixes #2414
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
</div>
|
||||
<% end %>
|
||||
|
||||
<% if post.has_large? && !post.is_ugoira? %>
|
||||
<% if post.is_visible? && post.has_large? && !post.is_ugoira? %>
|
||||
<div class="ui-corner-all ui-state-highlight notice notice-resized" id="image-resize-notice" style="<%= CurrentUser.default_image_size == "original" ? "display: none;" : "" %>">
|
||||
<span>Resized to <%= number_to_percentage post.resize_percentage.floor, :precision => 0 %> of original (<%= link_to "view original", post.file_url, :id => "image-resize-link" %>)</span>
|
||||
<span style="display: none;">Loading...</span>
|
||||
|
||||
Reference in New Issue
Block a user