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

Update layer.ext.js #19

Merged
merged 1 commit into from
Jan 7, 2016
Merged

Update layer.ext.js #19

merged 1 commit into from
Jan 7, 2016

Conversation

xuebingwang
Copy link
Contributor

你好,我在使用过程中发现了一小处问题见修改记录。

上面已经写了
img = parent.find(options.img||'img')
下面这段明显是写错了(options.img写成了photos.img),
而且没必要再查找一遍子元素
parent.find(photos.img||'img')

上面已经写了
img = parent.find(options.img||'img')
下面这段明显是写错了(options.img写成了photos.img),
而且没必要再查找一遍子元素
parent.find(photos.img||'img')
@sentsim
Copy link
Member

sentsim commented Jan 7, 2016

感谢,的确写错了。

sentsim pushed a commit that referenced this pull request Jan 7, 2016
@sentsim sentsim merged commit dcfbcd4 into layui:2.x Jan 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants