From 7134b005447a4b1db91cffef58bb804c0e3f9f93 Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 9 Jun 2017 17:02:50 +0200 Subject: [PATCH] Add a button to display the context menu for the trash on mobiles --- www/drive/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/drive/main.js b/www/drive/main.js index ce90cf999..41bf090c2 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -2080,7 +2080,7 @@ define([ var isOpened = filesOp.comparePath(path, currentPath); var $trashElement = createTreeElement(TRASH_NAME, $icon, [TRASH], false, true, false, isOpened); $trashElement.addClass('root'); - $trashElement.contextmenu(openTrashTreeContextMenu); + $trashElement.find('>.element-row').contextmenu(openTrashTreeContextMenu); var $trashList = $('