Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

搜索功能 #70

Closed
SportPlusX opened this issue Jun 12, 2017 · 7 comments
Closed

搜索功能 #70

SportPlusX opened this issue Jun 12, 2017 · 7 comments
Labels

Comments

@SportPlusX
Copy link

最近在移植主题到Ink,首页模板有{{template "search" .}}_search.html模板没修改过,但是还是不能搜索。
searchWorker.js 和 index.json 都正常,问题出现在哪里呢?

@imeoer
Copy link
Member

imeoer commented Jun 13, 2017

@bpplpp 可能遇到了浏览器兼容问题,请问浏览器是?以及搜索时浏览器有报错吗?

@imeoer imeoer added the bug label Jun 13, 2017
@SportPlusX
Copy link
Author

chrome浏览器,搜索时没有报错,不介意的话,我把主题基本模板发给你测试一下也行

@imeoer
Copy link
Member

imeoer commented Jun 13, 2017

@bpplpp 嗯,模板有仓库吗?我看看。

@SportPlusX
Copy link
Author

木有github,还是发邮件给你吧

@imeoer
Copy link
Member

imeoer commented Jun 13, 2017

@bpplpp 好像是因为这个主题删除了 .article-list 这个 class 导致的。

@SportPlusX
Copy link
Author

确实是这样子,为啥会出现这个问题,是ink里面特定的范围了嘛?

@imeoer
Copy link
Member

imeoer commented Jun 13, 2017

@bpplpp 嗯,在搜索时会操作这个 dom 的。

@imeoer imeoer closed this as completed Jun 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants