Fix title attribute for truncated titles in the drive
This commit is contained in:
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…
x
Reference in New Issue
Block a user