From 2a4eca1e2e98ff78d54b66ab9406067f82813e2a Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 7 Oct 2019 15:00:26 +0200 Subject: [PATCH] Remove download button for sheets --- 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 d0ae3910f..1561db904 100644 --- a/www/common/drive-ui.js +++ b/www/common/drive-ui.js @@ -1138,6 +1138,9 @@ define([ //hide.push('download'); hide.push('openincode'); } + if ($element.is('.cp-border-color-sheet')) { + hide.push('download'); + } if ($element.is('.cp-app-drive-element-file')) { // No folder in files hide.push('color');