Browse Source

:bug: 将_null_替换回来

visuddhinanda 5 năm trước cách đây
mục cha
commit
effb1bcc8d
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      app/wiki/wiki.js

+ 3 - 1
app/wiki/wiki.js

@@ -53,7 +53,9 @@ function term_get_word_to_div(strWord) {
 							type[iterator.tag].push(iterator.meaning);
 							type[iterator.tag].push(iterator.meaning);
 							authors[iterator.owner] = iterator.user;
 							authors[iterator.owner] = iterator.user;
 						}
 						}
-
+						if (iterator.tag == "_null_") {
+							iterator.tag = "";
+						}
 						html += "<div class='term_word_head'>";
 						html += "<div class='term_word_head'>";
 						html += "<div class='term_word_head_pali'>";
 						html += "<div class='term_word_head_pali'>";
 						html += result[0].word;
 						html += result[0].word;