Browse Source

Fixed position

Roshan Prabhakar 8 years ago
parent
commit
371a599187
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/landing/plugin.ts

+ 3 - 3
src/landing/plugin.ts

@@ -77,9 +77,9 @@ function activateLanding(app: Application, services: ServiceManager): void {
   });
 
   let tour = document.createElement('span')
-  title.textContent = 'Take a tour';
-  title.className = 'jp-Landing-tour';
-  dialog.appendChild(header);
+  tour.textContent = 'Take a tour';
+  tour.className = 'jp-Landing-tour';
+  dialog.appendChild(tour);
 
   img = body.getElementsByClassName('jp-ImageConsole')[0];
   img.addEventListener('click', () => {