Fix tooltips in drive list mode

This commit is contained in:
yflory 2019-11-12 16:00:20 +01:00
parent 2faad16378
commit a3bb56f3db
1 changed files with 3 additions and 1 deletions

View File

@ -1917,7 +1917,9 @@ define([
var $files = $('<span>', {
'class': 'cp-app-drive-element-files cp-app-drive-element-list'
}).text(files);
$span.attr('title', key);
if (getViewMode() === 'grid') {
$span.attr('title', key);
}
$span.append($name).append($state).append($subfolders).append($files);
};