| Index: chrome/browser/resources/ntp4/new_tab.js
|
| diff --git a/chrome/browser/resources/ntp4/new_tab.js b/chrome/browser/resources/ntp4/new_tab.js
|
| index 821ab156cd779d54f7466c95de0226069addbf21..1ed17a4f68406d1d0083375cca1744ad397b0ddd 100644
|
| --- a/chrome/browser/resources/ntp4/new_tab.js
|
| +++ b/chrome/browser/resources/ntp4/new_tab.js
|
| @@ -160,6 +160,8 @@ cr.define('ntp', function() {
|
| * @param {Event} e The click/auxclick event.
|
| */
|
| function onChromeWebStoreButtonClick(e) {
|
| + if (e.button !== 0 && e.button !== 1)
|
| + return; // Ignore buttons other than left and middle.
|
| chrome.send('recordAppLaunchByURL',
|
| [encodeURIComponent(this.href),
|
| ntp.APP_LAUNCH.NTP_WEBSTORE_FOOTER]);
|
|
|