瀏覽代碼

Fixed position

Roshan Prabhakar 8 年之前
父節點
當前提交
371a599187
共有 1 個文件被更改,包括 3 次插入3 次删除
  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', () => {