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 = $('