Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit a25d546

Browse files
committed
Merge pull request #1543 from mariodian/fix_tooltip_length
Fix tooltip length
2 parents 6f4536e + 57b0b35 commit a25d546

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/templates/itemShort.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
style="background-image: <% if(ob.avatar_hash && ob.avatarURL) { %> url(<%= ob.avatarURL %>), <% } %>url(imgs/defaultUser.png);"></div>
1919
<% } %>
2020
<div class="js-item pad8Left <% if(ob.title.length >= 30) { %>tooltip<% } %>"
21-
<% if(ob.title.length >= 30) { %>data-tooltip="<%= ob.title.substring(0, 40) %>"<% } %> data-id="<%= ob.contract_hash %>">
21+
<% if(ob.title.length >= 30) { %>data-tooltip="<%= ob.title %>"<% } %> data-id="<%= ob.contract_hash %>">
2222
<div class="textSize14px noOverflow textOpacity1 js-searchTitle">
2323
<%= ob.title %>
2424
</div>

0 commit comments

Comments
 (0)