Fix missing context menu

pull/1/head
yflory 4 years ago
parent ec042e86ac
commit 6321eedd87

@ -3682,6 +3682,9 @@ define([
APP.hideMenu(); APP.hideMenu();
return; return;
} }
if (!$li.length) {
return void $dirContent.contextmenu();
}
// Open the menu // Open the menu
$li.contextmenu(); $li.contextmenu();
}); });

Loading…
Cancel
Save