From 92d6e8a1ee20e3695a4305ed8783d1e058e8ee98 Mon Sep 17 00:00:00 2001 From: woshiguabi Date: Mon, 27 Feb 2017 09:31:07 +0800 Subject: [PATCH] Update search.js --- src/plugins/search/search.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugins/search/search.js b/src/plugins/search/search.js index e7f5ee7..fcdbd56 100644 --- a/src/plugins/search/search.js +++ b/src/plugins/search/search.js @@ -17,7 +17,7 @@ function escapeHtml (string) { function getAllPaths () { const paths = [] - helper.dom.findAll('a:not(data-nosearch)') + helper.dom.findAll('a:not([data-nosearch])') .map(node => { const href = node.href const originHref = node.getAttribute('href')