From e1a4a9fa4d42a6a41f695b6f71846d7282838ac0 Mon Sep 17 00:00:00 2001 From: Marcin Kuzminski Date: Thu, 4 Jul 2019 18:14:13 +0000 Subject: [PATCH] commits: hide links icon of message that don't expand. --- rhodecode/public/js/src/rhodecode/changelog.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rhodecode/public/js/src/rhodecode/changelog.js b/rhodecode/public/js/src/rhodecode/changelog.js index e4a8edae..3ecc82ef 100644 --- 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'); } });