Skip to content

Commit

Permalink
Wordpress Callback Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
samcleaver committed Jul 9, 2011
1 parent fb4f9bd commit e7b2776
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions wp_infinite_scroll.php
Expand Up @@ -224,8 +224,7 @@ function wp_inf_scroll_init()
loading : {
img : \"$loading_image\",
msgText : \"$loading_text\",
finishedMsg : \"$donetext\",
finished : function() { $js_calls }
finishedMsg : \"$donetext\"
},
state : {
currPage : \"$current_page\"
Expand All @@ -235,7 +234,7 @@ function wp_inf_scroll_init()
contentSelector : \"$content_selector\",
itemSelector : \"$post_selector\",
pathParse : [\"{$pathParse[0]}\", \"{$pathParse[1]}\"]
});
}, function() { $js_calls } );
});
</script>";
return true;
Expand Down

0 comments on commit e7b2776

Please sign in to comment.