瀏覽代碼

Update description of loading settings

Co-authored-by: Athan <kgryte@gmail.com>
Martha Cryan 5 年之前
父節點
當前提交
d153ce30fe
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      packages/toc/src/extension.ts

+ 1 - 1
packages/toc/src/extension.ts

@@ -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;