Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5721)

Unified Diff: chrome/browser/resources/bookmark_manager/js/main.js

Issue 12583002: REGRESSION(r174613) Bookmark manager: Ctrl+C, Ctrl+X, and Ctrl+V doesn't work (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/bookmark_manager/js/main.js
diff --git a/chrome/browser/resources/bookmark_manager/js/main.js b/chrome/browser/resources/bookmark_manager/js/main.js
index 3e48e6c64e629e6e133e90b56c38d6ca7f625cf7..a205a3603f7225790a9109ce20d4dbc83479484e 100644
--- a/chrome/browser/resources/bookmark_manager/js/main.js
+++ b/chrome/browser/resources/bookmark_manager/js/main.js
@@ -1697,7 +1697,7 @@ function handleCommand(e) {
// shortcuts for these commands.
function installEventHandlerForCommand(eventName, commandId) {
function handle(e) {
- if (document.activeElement != list || document.activeElement != tree)
+ if (document.activeElement != list && document.activeElement != tree)
return;
var command = $(commandId);
if (!command.disabled) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698