From 1aef844fc3f7e6a4911c03fd78c19990ad1e1fc1 Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 11 Sep 2017 12:23:24 +0200 Subject: [PATCH] Fix title attribute for truncated titles in the drive --- www/drive/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/drive/main.js b/www/drive/main.js index 895a6d5ef..22ae766a4 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -2058,7 +2058,7 @@ define([ if ($name.length === 0) { return; } if ($name[0].scrollHeight > $name[0].clientHeight) { var $tr = $truncated.clone(); - $tr.attr('title', $name.attr('title')); + $tr.attr('title', $name.text()); $(el).append($tr); } });