From 834a522029def2f0f4b3f6534b9c1d656a22e1cb Mon Sep 17 00:00:00 2001 From: chihyux Date: Wed, 24 Jun 2020 17:45:32 +0800 Subject: [PATCH] accessibility issue of preview pdf --- app/views/archives/download_file.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/archives/download_file.html.erb b/app/views/archives/download_file.html.erb index 0232f77..fae610e 100644 --- a/app/views/archives/download_file.html.erb +++ b/app/views/archives/download_file.html.erb @@ -9,8 +9,8 @@ <% if @ext != "png" && @ext != "jpg" && @ext != "bmp" %> + <%=@filename%> - <% else %> <%=@filename%> <% end %>