From 0e1f0582b1344bd1e659aafc356a19d62bcbe02b Mon Sep 17 00:00:00 2001 From: Matthew Kernes Date: Mon, 7 Aug 2017 10:33:38 -0700 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 29829e5..1c012c0 100644 --- a/README.md +++ b/README.md @@ -170,7 +170,7 @@ var PageTour = $.fn.PageTour(); PageTour.switchTo('#some_DOM', { title: 'Some DOM Object', description: 'This is a DOM object on the page.', - next: switchTo('#another_DOM', {...}), - next: switchTo('#a_previous_DOM', {...}) + next: PageTour.switchTo('#another_DOM', {...}), + next: PageTour.switchTo('#a_previous_DOM', {...}) }); ```