commit | 76fea00a18f75886ea649414393228180306e13d | [log] [tgz] |
---|---|---|
author | nzolghadr <nzolghadr@chromium.org> | Wed Apr 27 21:33:45 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Apr 27 21:36:45 2016 |
tree | 796bf68fa872e93b64d077073fdae29145060e9f | |
parent | 8e60cf5e79ebf2460055c86ab81adfef4774c1cc [diff] |
Prevent sending click event for non primary button Prevent sending click and dblclick events when the button in charge is a non-primary mouse button. As the result of this change there is no way to prevent the behavior of opening a new tap when middle clicking on a link. Previously, js could listen to click event of the middle button and call preventDefault on it. BUG=255 Review-Url: https://codereview.chromium.org/1894253002 Cr-Commit-Position: refs/heads/master@{#390195}