Browse Source

Fixed search code

spoorthyv 8 years ago
parent
commit
aeb82b941a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/commandpalette/plugin.ts

+ 3 - 3
src/commandpalette/plugin.ts

@@ -129,9 +129,9 @@ function activateCommandPalette(app: JupyterLab): ICommandPalette {
     label: 'Toggle Command Palette'
   });
 
+  palette.inputNode.placeholder = "SEARCH";
+
   app.shell.addToLeftArea(palette);
 
-  let palette2 = new Palette(palette);
-  palette2.placeholder = "SEARCH";
-  return palette2;
+  return new Palette(palette);
 }