From 678592e30bb65b97135dac33ea91fae428c3d2c8 Mon Sep 17 00:00:00 2001 From: luchenqun Date: Wed, 22 Feb 2017 22:57:12 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E5=AF=BC=E8=88=AA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E7=9A=84=E6=9B=B4=E5=A4=9A=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/views/bookmarks.html | 20 ++++++++++++-------- routes/api.js | 4 ---- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/public/views/bookmarks.html b/public/views/bookmarks.html index d485264..831ff95 100644 --- a/public/views/bookmarks.html +++ b/public/views/bookmarks.html @@ -19,16 +19,20 @@
-
+
{{ bookmark.title}}
-
- -
@@ -84,12 +88,11 @@ -
diff --git a/routes/api.js b/routes/api.js index 7c2818f..bbe6131 100644 --- a/routes/api.js +++ b/routes/api.js @@ -251,10 +251,6 @@ api.get('/bookmarks', function(req, res) { } tag.click += bookmark.click_count; tag.bookmarks.push(bookmark); - // if (bookmark.id && tag.bookmarks.length < 31) { - // tag.click += bookmark.click_count; - // tag.bookmarks.push(bookmark); - // } }); if (result && result.length > 0) { data.push(tag);