소스 검색

:bug: isSub

visuddhinanda 3 년 전
부모
커밋
886665e01a
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      public/app/palicanon/palicanon.js

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

@@ -769,6 +769,8 @@ function palicanon_render_chapter_row(chapter,isSub=false) {
 	html += "</div>";
 	html += '<div class="title_right" >';
     if(isSub){
+        html += "<span></span>";
+    }else{
         html += "<img class='chapter_dynamic_svg' src='/api/v2/progress-img/-chapter_dynamic-";
         html += chapter.book + "-";
         if(chapter.paragraph){
@@ -782,8 +784,6 @@ function palicanon_render_chapter_row(chapter,isSub=false) {
             html += "-global";
         }
         html += "' />";
-    }else{
-        html += "<span></span>";
     }
 
 	html += "</div>";