From 4d752c993352c1c7262e4df17c0a0ac0808b4016 Mon Sep 17 00:00:00 2001 From: ClemDee Date: Wed, 19 Jun 2019 15:08:30 +0200 Subject: [PATCH] Small fixes --- www/drive/inner.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/www/drive/inner.js b/www/drive/inner.js index 9bc285a0d..f7011fa50 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -1509,9 +1509,6 @@ define([ $element.on('mousedown', function (e) { e.stopPropagation(); - if (APP.colorPicker) { - APP.colorPicker.hide(); - } }); // Add drop handlers if we are not in the trash and if the element is a folder @@ -3114,7 +3111,6 @@ define([ var $rootIcon = manager.isFolderEmpty(files[ROOT]) ? (isRootOpened ? $folderOpenedEmptyIcon : $folderEmptyIcon) : (isRootOpened ? $folderOpenedIcon : $folderIcon); - $rootIcon.css("color", getFolderColor([ROOT])); // XXX allow t omodify color of root ? var $rootElement = createTreeElement(ROOT_NAME, $rootIcon.clone(), [ROOT], false, true, true, isRootOpened); if (!manager.hasSubfolder(root)) { $rootElement.find('.cp-app-drive-icon-expcol').css('visibility', 'hidden'); @@ -3420,7 +3416,7 @@ define([ paths.forEach(function (p) { setFolderColor(p.element, p.path, color); }); - refresh(); // makes imgs overview flicker in drive + refresh(); }); } else if($(this).hasClass("cp-app-drive-context-delete")) {