Chromium Code Reviews| Index: chrome/browser/resources/ntp4/apps_page.js |
| diff --git a/chrome/browser/resources/ntp4/apps_page.js b/chrome/browser/resources/ntp4/apps_page.js |
| index 80fbee21c8c0dcb401f5432b7706f87801b4492e..e1f4a0050fbdedafeeee6b6f36dc7ecc272b2529 100644 |
| --- a/chrome/browser/resources/ntp4/apps_page.js |
| +++ b/chrome/browser/resources/ntp4/apps_page.js |
| @@ -390,11 +390,11 @@ cr.define('ntp', function() { |
| /** |
| * Invoked when an app is clicked. |
| - * @param {MouseEvent} e The click/auxclick event. |
| + * @param {Event} e The click/auxclick event. |
|
dpapad
2016/09/15 17:39:03
Should this be !Event
|
| * @private |
| */ |
| onClick_: function(e) { |
| - if (e.button > 1) return; |
| + if (/** @type {MouseEvent} */(e).button > 1) return; |
| var url = !this.appData_.is_webstore ? '' : |
| appendParam(this.appData_.url, |