Commit 0106c710 authored by vitalyp's avatar vitalyp Committed by Commit bot

Prevent updateOpenCommand() from receiving e.target of type other than BookmarkList|BookmarkTree

R=arv@chromium.org
BUG=393873

Review URL: https://codereview.chromium.org/594373002

Cr-Commit-Position: refs/heads/master@{#296456}
parent 8e78ec06
...@@ -459,7 +459,7 @@ function handleCanExecuteForDocument(e) { ...@@ -459,7 +459,7 @@ function handleCanExecuteForDocument(e) {
e.canExecute = e.currentTarget.activeElement !== $('term'); e.canExecute = e.currentTarget.activeElement !== $('term');
break; break;
default: default:
canExecuteForList(e); handleCanExecuteForList(e);
break; break;
} }
} }
......
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