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