فهرست منبع

:bug: 更换channel新数据在最下面

visuddhinanda 3 سال پیش
والد
کامیت
3900a7a8a5
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      public/app/palicanon/palicanon.js

+ 2 - 1
public/app/palicanon/palicanon.js

@@ -1216,8 +1216,9 @@ function RenderBreadCrumbs(){
 }
 function select_channel(id,obj=null){
     _channel = id;
+	_nextPageStart = 0;
     updataHistory();
-    communityGetChapter(0);
+    communityGetChapter(_nextPageStart);
     refresh_selected_channel();
     console.log("change channel",_channel);
     //$(obj).siblings.removeClass('active');