From 7ea968e9d783d6108500fe4ef54d1a63ab96de7f Mon Sep 17 00:00:00 2001 From: hcarmona <hcarmona@chromium.org> Date: Thu, 5 Feb 2015 15:20:40 -0800 Subject: 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} --- ui/webui/resources/js/cr/ui/focus_grid.js | 1 - 1 file changed, 1 deletion(-) (limited to 'ui') 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; }, }; -- cgit v1.1