Browse Source

上传类型判断

namejr 4 năm trước cách đây
mục cha
commit
8f14eecdd7
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      EBook.Web/Common/mtm_temp.js

+ 1 - 1
EBook.Web/Common/mtm_temp.js

@@ -1,7 +1,7 @@
 /*¸ßÁÁÎı¾±ê×¢*/
 function Fill(data) {
     var highlightArr = [];
-    if ($(document.body).find(".wordStyle,.phraseStyle,.phraseStyle").length > 0) {
+    if ($(document.body).find(".wordStyle,.phraseStyle,.phraseStyle").length > 0 && typeof (dealAnswerFunc) == "function") {
         dealAnswerFunc(document.body, false, false);
     }
     clearHighlight();