Skip to content

Commit

Permalink
Update file-selector.tpl
Browse files Browse the repository at this point in the history
  • Loading branch information
kiriles90 authored Apr 17, 2024
1 parent bbc62c5 commit ddaa210
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/templates/file-selector.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<% if (Settings.activateSeedbox && !localFile) { %>
<i class="fa fa-download item-download tooltipped" title="<%=i18n.__('Download')%>" data-placement="top" data-container="body"></i>
<span style="margin-right: 12px"><% } else { %><span><% } %><%=Common.fileSize(file.length) %></span>
<a class="tooltipped" data-titleholder="<%= file.name.replaceAll('.', '.\u200B') %>" data-placement="top" data-container="body" onmouseenter="if (this.offsetWidth < this.scrollWidth) { $(this).attr('data-original-title', $(this).attr('data-titleholder')); } else { $(this).attr('data-original-title', ''); }"><%=file.name %></a>
<a class="tooltipped" data-titleholder="<%= file.name.replace(/\./g, '.\u200B') %>" data-placement="top" data-container="body" onmouseenter="if (this.offsetWidth < this.scrollWidth) { $(this).attr('data-original-title', $(this).attr('data-titleholder')); } else { $(this).attr('data-original-title', ''); }"><%=file.name %></a>
</li>
<% }}); %>
</ul>
Expand Down

0 comments on commit ddaa210

Please sign in to comment.