Skip to content

Commit

Permalink
Revert "Restore accidentally removed ToC context menu (#11617)"
Browse files Browse the repository at this point in the history
This reverts commit da0a403.
  • Loading branch information
fcollonval committed Dec 6, 2021
1 parent da0a403 commit f76178b
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions packages/toc-extension/src/index.ts
Expand Up @@ -125,11 +125,6 @@ async function activateTOC(
label: trans.__('Run Cell(s)')
});

app.contextMenu.addItem({
selector: '.jp-tocItem',
command: CommandIDs.runCells
});

if (restorer) {
// Add the ToC widget to the application restorer:
restorer.add(toc, '@jupyterlab/toc:plugin');
Expand Down

0 comments on commit f76178b

Please sign in to comment.