Ver Fonte

百科点击巴利句子弹窗reader

visuddhinanda há 5 anos atrás
pai
commit
85e0a954b3
1 ficheiros alterados com 13 adições e 0 exclusões
  1. 13 0
      app/term/note.js

+ 13 - 0
app/term/note.js

@@ -89,6 +89,19 @@ function note_refresh_new() {
               let strHtml = note_json_html(iterator);
               $("#" + id).html(strHtml);
             }
+            $(".palitext").click(function () {
+              let sentid = $(this).parent().attr("info").split("-");
+              window.open(
+                "../pcdl/reader.php?view=sent&book=" +
+                  sentid[0] +
+                  "&para=" +
+                  sentid[1] +
+                  "&begin=" +
+                  sentid[2] +
+                  "&end=" +
+                  sentid[3]
+              );
+            });
             note_ref_init();
             term_get_dict();
             note_channal_list();