Don't try to display ugoira thumbnail/webm before they exist
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
<% if CurrentUser.user.default_image_size == "large" && params[:original].blank? %>
|
||||
<% if CurrentUser.user.default_image_size == "large" && params[:original].blank? && post.has_ugoira_webm? %>
|
||||
<%= render "posts/partials/show/ugoira_webm", :post => post %>
|
||||
<% else %>
|
||||
<%= render "posts/partials/show/ugoira_original", :post => post %>
|
||||
|
||||
Reference in New Issue
Block a user