From 849e4dd410b41bd71632a80a311a1e9872e21d51 Mon Sep 17 00:00:00 2001 From: oncereply Date: Thu, 13 Dec 2012 17:36:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E6=89=80=E6=9C=89.comments=E6=A0=B7?= =?UTF-8?q?=E5=BC=8F=E6=9B=BF=E6=8D=A2=E8=A1=A8=E6=83=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bootstyle/js/bootstyle.js | 7 +++++++ bootstyle/side.ftl | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bootstyle/js/bootstyle.js b/bootstyle/js/bootstyle.js index 5b8c772..025d4a3 100644 --- a/bootstyle/js/bootstyle.js +++ b/bootstyle/js/bootstyle.js @@ -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(){ diff --git a/bootstyle/side.ftl b/bootstyle/side.ftl index 0fef905..0d1e05b 100644 --- a/bootstyle/side.ftl +++ b/bootstyle/side.ftl @@ -8,12 +8,12 @@ <#if 0 != recentComments?size> -
+

${recentCommentsLabel}