Update search.js

This commit is contained in:
woshiguabi 2017-02-27 09:31:07 +08:00 committed by cinwell.li
commit 92d6e8a1ee

View file

@ -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')