Skip to content

Commit

Permalink
Update description of loading settings
Browse files Browse the repository at this point in the history
Co-authored-by: Athan <kgryte@gmail.com>
  • Loading branch information
Martha Cryan and kgryte authored May 6, 2020
1 parent 6122d24 commit 5b7e351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ function activateTOC(
// Add the ToC widget to the application restorer:
restorer.add(toc, 'juputerlab-toc');

// Load the configuration of whether to enable collapsing behavior
// Attempt to load plugin settings:
settingRegistry.load('@jupyterlab/toc:plugin').then(settings => {
const config = settings.get('tocConfig').composite as JSONObject;
const collapsibleNotebooks = config.collapsibleNotebooks as boolean;
Expand Down

0 comments on commit 5b7e351

Please sign in to comment.