Explorar el Código

:bug: reader目录显示载入中

visuddhinanda hace 5 años
padre
commit
a07afb904b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      app/reader/reader.js

+ 1 - 0
app/reader/reader.js

@@ -26,6 +26,7 @@ function reader_load(){
             _sent_data = JSON.parse(data);
             let tpl = "";
             let currPara=0;
+            $("#contents").html("");
             if(_sent_data.sentences.length>0  ){
                 for (const iterator of _sent_data.sentences) {
                     if(currPara!=iterator.paragraph){