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

优化事件绑定和处理,避免重复bind #54

Open
wsky opened this issue Aug 21, 2012 · 0 comments
Open

优化事件绑定和处理,避免重复bind #54

wsky opened this issue Aug 21, 2012 · 0 comments
Assignees

Comments

@wsky
Copy link
Member

wsky commented Aug 21, 2012

cooper.js

215: $('#taskUl img').click();
//设置列表每行的Click响应函数
244: $('#taskUl li').click()
$('#taskUl img').click(function(e){
  if($(e.target).is('img')){ 
    //..
  }
});
@ghost ghost assigned tangxuehua Aug 21, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants