From 6697e568a0d1e7976b23255beb4e9f5728616469 Mon Sep 17 00:00:00 2001 From: luchenqun Date: Fri, 10 Feb 2017 17:27:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BF=87=E6=BB=A4=E4=B8=A4=E4=B8=AA=E4=B9=A6?= =?UTF-8?q?=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/parse_html.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/parse_html.js b/common/parse_html.js index 3a4e480..951871f 100644 --- a/common/parse_html.js +++ b/common/parse_html.js @@ -29,10 +29,10 @@ var parsehtml = function(file, callback) { var folder, tag; folder = $(ee).prev(); tag = folder.text().replace(/(^\s*)|(\s*$)/g, '').replace(/\s+/g, ' '); - if (allTags.indexOf(tag) == -1) { - allTags.push(tag); - } if (tag != "Bookmarks" && tag != "书签栏") { + if (allTags.indexOf(tag) == -1) { + allTags.push(tag); + } return tags.push(tag); } });