From 8bb2a8f053997fd475a83d1d07ecb32af04bcacc Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 8 Nov 2019 15:43:31 +0100 Subject: [PATCH] Add pad title tooltip in grid mode --- www/common/drive-ui.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 3baa3d977..1cacb417b 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1810,6 +1810,9 @@ define([ var $name = $('', {'class': 'cp-app-drive-element-name'}).text(name); $element.append($name); $element.append($state); + if (getViewMode() === 'grid') { + $element.attr('title', name); + } // display the thumbnail // if the thumbnail has already been displayed once, do not reload it, keep the same url