I'm customizing this template and the "load more posts" of the "latest post" goes into infinite looping, not loading posts.
I'm not sure if the code is loading javascript correctly. The template I am using is this: link
This is the script, is there something wrong with it not to load?
<script class='jshilang' type='text/javascript'>
//<![CDATA[
searchxx({summaryLength:100,scrthumbSize:50});
jQuery('.sidebar h2, .footer h2').wrapInner('<span/>');
callregex(jQuery);
//]]>
</script>
<b:if cond='data:blog.url != data:blog.homepageUrl'>
<b:if cond='data:blog.pageType != "static_page"'>
<b:if cond='data:blog.pageType != "item"'>
<script class='jshilang' type='text/javascript'>
//<![CDATA[
viewMode({
viewmodedefault:'list',
cookielist:'list1',
cookiegrid:'grid1'
});
loadMorePost({
viewmodedefault:'list',
cookielist:'list1',
cookiegrid:'grid1'
});
//]]>
</script>