commits: hide links icon of message that don't expand.
This commit is contained in:
parent
7442a5a703
commit
e1a4a9fa4d
1 changed files with 4 additions and 1 deletions
|
|
@ -107,7 +107,10 @@ var CommitsController = function () {
|
|||
|
||||
$.each($('.message.truncate'), function(idx, value) {
|
||||
if(!(value.offsetWidth < value.scrollWidth)){
|
||||
$(this).closest('td').siblings('.expand_commit').find('i').hide();
|
||||
var expandTd = $(this).closest('td').siblings('.expand_commit');
|
||||
expandTd.find('i').hide();
|
||||
expandTd.removeAttr('title');
|
||||
expandTd.removeClass('expand_commit');
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue