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

Commit 460b6f6

Browse files
committed
shorten title tooltips
1 parent 2484321 commit 460b6f6

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
@@ -8,7 +8,7 @@
88
<div class="thumbnail-small js-avatar tooltip" data-tooltip="<% if(ob.handle) { %><%= ob.handle %><% }else{ %><%= ob.guid %><% } %>" data-handle="<%= ob.handle %>"
99
style="background-image: <% if(ob.avatar_hash && ob.avatarURL) { %> url(<%= ob.avatarURL %>), <% } %>url(imgs/defaultUser.png);"></div>
1010
<% } %>
11-
<div class="js-item pad8Left <% if(ob.title.length >= 30) { %>tooltip<% } %>" <% if(ob.title.length >= 30) { %>data-tooltip="<%= ob.title %>"<% } %> data-id="<%= ob.contract_hash %>">
11+
<div class="js-item pad8Left <% if(ob.title.length >= 30) { %>tooltip<% } %>" <% if(ob.title.length >= 30) { %>data-tooltip="<%= ob.title.substring(0, 40) %>"<% } %> data-id="<%= ob.contract_hash %>">
1212
<div class="textSize14px noOverflow textOpacity1 js-searchTitle"><%= ob.title %></div>
1313
<div class="textSize13px txt-fade textWeightNormal">
1414
<%= ob.vendorBTCPrice %> BTC

0 commit comments

Comments
 (0)