From d1670d214acf453ed0abefb61f56a874a72ff3c1 Mon Sep 17 00:00:00 2001 From: yflory Date: Thu, 28 May 2020 12:18:34 +0200 Subject: [PATCH] lint compliance --- www/common/drive-ui.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/www/common/drive-ui.js b/www/common/drive-ui.js index 45b7c51f3..a92e383d1 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -3314,10 +3314,11 @@ define([ } // Display the pad + /* var $icon = getFileIcon(id); var ro = manager.isReadOnlyFile(id); // ro undefined means it's an old hash which doesn't support read-only - /*var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' : + var roClass = typeof(ro) === 'undefined' ? ' cp-app-drive-element-noreadonly' : ro ? ' cp-app-drive-element-readonly' : ''; var $element = $('
  • ', { 'class': 'cp-app-drive-element cp-app-drive-element-notrash cp-app-drive-element-file cp-app-drive-element-row' + roClass,