fix intro.js

This commit is contained in:
vvakame
2015-12-01 11:24:18 +09:00
parent 6278aa9cf6
commit 245931eb8a
2 changed files with 3 additions and 3 deletions

View File

@@ -9,11 +9,11 @@ intro.setOptions({
intro: "Hello world!"
},
{
element: document.querySelector('#step1'),
element: document.querySelector('#step1') as HTMLElement,
intro : "This is a tooltip."
},
{
element : document.querySelectorAll('#step2')[0],
element : document.querySelectorAll('#step2')[0] as HTMLElement,
intro : "Ok, wasn't that fun?",
position: 'right'
},

View File

@@ -14,7 +14,7 @@ declare module IntroJs {
interface Step {
intro: string;
element?: string|HTMLElement;
position?: Positions;
position?: string|Positions;
}
interface Options {