commits: hide expanders that don't do anything.

This commit is contained in:
Daniel Dourvaris 2019-07-02 15:51:15 +02:00
parent 6793d652e0
commit c2ecec468c

View file

@ -104,6 +104,13 @@ var CommitsController = function () {
}
$('#graph_nodes').css({'padding-top': padding});
$.each($('.message.truncate'), function(idx, value) {
if(!(value.offsetWidth < value.scrollWidth)){
$(this).closest('td').siblings('.expand_commit').find('i').hide();
}
});
};
this.getChunkUrl = function (page, chunk, branch, commit_id, f_path) {