# HG changeset patch # User Marcin Kuzminski # Date 2019-07-04 18:14:13 # Node ID ff8a9dc47fb9af797fb7579a9c3be824efe6859b # Parent e92036b978e934f66630ae4b424c0326c7fb2d41 commits: hide links icon of message that don't expand. diff --git a/rhodecode/public/js/src/rhodecode/changelog.js b/rhodecode/public/js/src/rhodecode/changelog.js --- a/rhodecode/public/js/src/rhodecode/changelog.js +++ b/rhodecode/public/js/src/rhodecode/changelog.js @@ -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'); } });