rror||_scrollTo($("#c"+(this.curChapter-1)).offset().top),this.$read.pause=!
0;vart=this;$.ajax({url:t.getApiUrl(),dataType:"json",success:function(e){disabledClick=!
1,t.$read.pause=!1;vara=$("[data-js=loading]");if(0==e.code){t.chapters.push(t.curChapter),t.$read.attr("rel",t.getApiUrl(t.curChapter+1)),isEpub||(t.chapterNames[t.curChapter]=e.body.chapterName||"");varo="";if(a.length?
a.before(t.getAnchor()+e.html+e.body.pageButton+o):t.$read.append(t.getAnchor()+e.html+e.body.pageButton+o),(1==e.body.pageType||3==e.body.pageType)&&(t.isDisableAsync=!
0),5==e.body.pageType)returngoUrl(e.body.goUrl),!
0;t.isNetError&&(t.isNetError=!
1,t.perloadNum=2,_scrollTo($("#c"+t.curChapter).offset().top)),t.isDisableAsync&&!
_isEmpty(e.body.pageButton)