{"action":"opened","issue":{"url":"https://api.github.com/repos/fex-team/webuploader/issues/776","labels_url":"https://api.github.com/repos/fex-team/webuploader/issues/776/labels{/name}","comments_url":"https://api.github.com/repos/fex-team/webuploader/issues/776/comments","events_url":"https://api.github.com/repos/fex-team/webuploader/issues/776/events","html_url":"https://github.com/fex-team/webuploader/issues/776","id":56952868,"number":776,"title":"为何上传按钮的点击事件会触发两次？","user":{"login":"justin-zhengyi-wu","id":2876110,"avatar_url":"https://avatars.githubusercontent.com/u/2876110?v=3","gravatar_id":"","url":"https://api.github.com/users/justin-zhengyi-wu","html_url":"https://github.com/justin-zhengyi-wu","followers_url":"https://api.github.com/users/justin-zhengyi-wu/followers","following_url":"https://api.github.com/users/justin-zhengyi-wu/following{/other_user}","gists_url":"https://api.github.com/users/justin-zhengyi-wu/gists{/gist_id}","starred_url":"https://api.github.com/users/justin-zhengyi-wu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justin-zhengyi-wu/subscriptions","organizations_url":"https://api.github.com/users/justin-zhengyi-wu/orgs","repos_url":"https://api.github.com/users/justin-zhengyi-wu/repos","events_url":"https://api.github.com/users/justin-zhengyi-wu/events{/privacy}","received_events_url":"https://api.github.com/users/justin-zhengyi-wu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-08T14:18:04Z","updated_at":"2015-02-08T14:18:04Z","closed_at":null,"body":"### 场景一：\r\n- 打开[Getting Started](http://fex-team.github.io/webuploader/getting-started.html)，\r\n- 打开开发者工具\r\n- 运行下面的代码，给上传按钮加上一个点击事件处理器：\r\n```js\r\n$('#picker').on('click', function() { console.log('Clicked.'); });\r\n```\r\n- 点击「选择文件」按钮，可以在控制台看到事件处理器两次被调用。\r\n\r\n### 场景二：\r\n步骤同上，用mouseenter事件。\r\n结果是，事件处理器只会被调用一次。\r\n\r\n\r\n\r\n"}}