Fix title attribute for truncated titles in the drive

pull/1/head
yflory 7 years ago
parent 55fe882f64
commit 1aef844fc3

@ -2058,7 +2058,7 @@ define([
if ($name.length === 0) { return; } if ($name.length === 0) { return; }
if ($name[0].scrollHeight > $name[0].clientHeight) { if ($name[0].scrollHeight > $name[0].clientHeight) {
var $tr = $truncated.clone(); var $tr = $truncated.clone();
$tr.attr('title', $name.attr('title')); $tr.attr('title', $name.text());
$(el).append($tr); $(el).append($tr);
} }
}); });

Loading…
Cancel
Save