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

fmover-slide-x 初始化问题 在npm最新版本中存在此问题 #21

Closed
coldpc opened this issue Jan 30, 2018 · 1 comment
Closed

Comments

@coldpc
Copy link

coldpc commented Jan 30, 2018

slideEls = toArray(el.querySelectorAll('div'));

在复杂dom结构中div可能存在于子节点中,建议修改为:
slideEls = toArray(el.children);

@HcySunYang
Copy link
Owner

c50b621

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants