将所有.comments样式替换表情

This commit is contained in:
oncereply
2012-12-13 17:36:49 +08:00
parent a90b430886
commit 849e4dd410
2 changed files with 9 additions and 2 deletions

View File

@@ -11,8 +11,15 @@ var bootstyle = {
}
});
},
setCommentEmotions:function(){
// comments emotions
$(".comments").each(function(){
$(this).html(Util.replaceEmString($(this).html()));
});
},
init:function(){
this.setNavCurrent();
this.setCommentEmotions();
}
};
$(function(){