Browse Source

删除.wordStyle,.phraseStyle,.sentenceStyle,

namejr 4 years ago
parent
commit
403096cc6c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      EBook.Web/Common/mtm_temp.js

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

@@ -59,7 +59,7 @@ function Fill(data) {
         });
     });
     // °ó¶¨ºáÏßÄÚ´¦Àí
-    $.each($(document).find(".wordStyle,.phraseStyle,.sentenceStyle,u,span,p"), function (Iindex, Iitem) {
+    $.each($(document).find("u,span,p"), function (Iindex, Iitem) {
         var ClsName = $(Iitem).attr("class");
         if ($(Iitem).attr("ulflag") == undefined) {
             $(Iitem).attr("ulflag", "0");
@@ -72,7 +72,7 @@ function Fill(data) {
         }
         if (ClsName != undefined && ClsName.indexOf("underlineContent") > -1) {
             $(Iitem).attr("ulflag", "1");
-            $.each($(Iitem).find(".wordStyle,.phraseStyle,.sentenceStyle,u,span,p"), function (index, element) {
+            $.each($(Iitem).find("u,span,p"), function (index, element) {
                 if ($(element).attr("ulflag") == undefined) {
                     $(element).attr("ulflag", "1");
                 }