第47章上司(六)(1 / 2)
")},gotoanchor:function(){retu1!
==thischatersindexof(thiscurchater)?
(_scrollto($("#c"+thiscurchater)offset()to),!
0):!1},getstchater:function(e){retustoreget("read_"+e)},setstchater:function(e){storeset("read_"+e,thiscurchater),e!
=resourseidstoreset("read_"+resourseid,thiscurchater)},jutostchater:function(){vare=thisgetstchater(bookid);e(thiscurchater=e,thischaters=[],thischateas={},this$readht(""),thisnextage(!
0))},setbookhistory:function(){thisbookhistorycurchater=thiscurchater,storeset("history_"+bookid,jsonstringify(thisbookhistory))},nextage:function(e){if(disabledclick||thisisdisableasync)retureadcurchater,readsetbookhistory(),!
1;disabledclick=!0,e||thisiserror||_scrollto($("#c"+(thiscurchater1))offset()to),this$readause=!
0;vart=this;$ajax({url:tgetaiurl(),datatye:"json",ess:function(e){disabledclick=!
1,t$readause=!1;vara=$("[datajs=loading]");if(0==ecode){tchatersush(tcurchater),t$readattr("rel",tgetaiurl(tcurchater+1)),iseub||(tchateas[tcurchater]=ebodychatea||"");varo="";if(alength?