Explorar el Código

Merge pull request #639 from afshin/activate-palette

Minor update, use .activate in command palette.
Steven Silvester hace 8 años
padre
commit
f57155d425
Se han modificado 1 ficheros con 1 adiciones y 2 borrados
  1. 1 2
      src/commandpalette/plugin.ts

+ 1 - 2
src/commandpalette/plugin.ts

@@ -93,8 +93,7 @@ function activateCommandPalette(app: JupyterLab): ICommandPalette {
    */
   function activatePalette(): void {
     app.shell.activateLeft(palette.id);
-    palette.inputNode.focus();
-    palette.inputNode.select();
+    palette.activate();
   }
 
   /**