Commit 40aece67 authored by dbeam's avatar dbeam Committed by Commit bot

chrome://apps - don't launch apps on right click. Only left or middle.

R=nzolghadr@chromium.org
BUG=647095
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation

Review-Url: https://codereview.chromium.org/2340203002
Cr-Commit-Position: refs/heads/master@{#418880}
parent 91c50202
......@@ -390,10 +390,12 @@ cr.define('ntp', function() {
/**
* Invoked when an app is clicked.
* @param {Event} e The click/auxclick event.
* @param {MouseEvent} e The click/auxclick event.
* @private
*/
onClick_: function(e) {
if (e.button > 1) return;
var url = !this.appData_.is_webstore ? '' :
appendParam(this.appData_.url,
'utm_source',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment