Skip to content

Commit 068574b

Browse files
committed
Merge pull request alvarotrigo#355 from verlev/master
Update jquery.fullPage.js: missing 'typeof'
2 parents 92055f1 + e09d89d commit 068574b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery.fullPage.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -565,7 +565,7 @@
565565
destiny = $('.section').eq( (section -1) );
566566
}
567567

568-
if (slide !== 'undefined'){
568+
if (typeof slide !== 'undefined'){
569569
scrollPageAndSlide(section, slide);
570570
}else if(destiny.length > 0){
571571
scrollPage(destiny);

0 commit comments

Comments
 (0)