Show context menu on right click in process explorer, #48498

This commit is contained in:
Rachel Macfarlane
2018-04-25 19:37:00 -07:00
parent ebf9c8c730
commit 741e7e413b

View File

@@ -161,7 +161,7 @@ export function startup(data: ProcessExplorerData): void {
const tableRows = document.getElementsByTagName('tr');
for (let i = 0; i < tableRows.length; i++) {
const tableRow = tableRows[i];
tableRow.addEventListener('click', (e) => {
tableRow.addEventListener('contextmenu', (e) => {
showContextMenu(e);
});
}