fix(search): dont search nameLink, fixed #102

This commit is contained in:
qingwei.li 2017-02-24 20:15:15 +08:00 committed by cinwell.li
commit 507d9e834c
3 changed files with 3 additions and 3 deletions

View file

@ -17,7 +17,7 @@ function escapeHtml (string) {
function getAllPaths () {
const paths = []
helper.dom.findAll('a')
helper.dom.findAll('a:not(data-nosearch)')
.map(node => {
const href = node.href
const originHref = node.getAttribute('href')