summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorhcarmona <hcarmona@chromium.org>2015-02-05 15:20:40 -0800
committerCommit bot <commit-bot@chromium.org>2015-02-05 23:21:45 +0000
commit7ea968e9d783d6108500fe4ef54d1a63ab96de7f (patch)
tree3d4a6bd499360d93a48d46b3f73ba46b1714cf05 /ui
parentc85184da42d043995203dbba777f08af00181d65 (diff)
downloadchromium_src-7ea968e9d783d6108500fe4ef54d1a63ab96de7f.zip
chromium_src-7ea968e9d783d6108500fe4ef54d1a63ab96de7f.tar.gz
chromium_src-7ea968e9d783d6108500fe4ef54d1a63ab96de7f.tar.bz2
Don't call preventDefault in the FocusGrid's click event
Calling preventDefault in the click event prevents buttons from handling the event. BUG=455617 Review URL: https://codereview.chromium.org/879243007 Cr-Commit-Position: refs/heads/master@{#314911}
Diffstat (limited to 'ui')
-rw-r--r--ui/webui/resources/js/cr/ui/focus_grid.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/ui/webui/resources/js/cr/ui/focus_grid.js b/ui/webui/resources/js/cr/ui/focus_grid.js
index 94efc9a..d8ab761 100644
--- a/ui/webui/resources/js/cr/ui/focus_grid.js
+++ b/ui/webui/resources/js/cr/ui/focus_grid.js
@@ -67,7 +67,6 @@ cr.define('cr.ui', function() {
row.makeRowActive(row.contains(target));
});
- e.preventDefault();
return true;
},
};