Index: Source/devtools/front_end/ui/ShortcutRegistry.js |
diff --git a/Source/devtools/front_end/ui/ShortcutRegistry.js b/Source/devtools/front_end/ui/ShortcutRegistry.js |
index 4b685dd3a9eb2d592891413b3e1058d370ef1f6d..abe497398dc6d1a51c5bdbcfac16ca615ccaca9a 100644 |
--- a/Source/devtools/front_end/ui/ShortcutRegistry.js |
+++ b/Source/devtools/front_end/ui/ShortcutRegistry.js |
@@ -101,7 +101,7 @@ WebInspector.ShortcutRegistry.prototype = { |
*/ |
function isPossiblyInputKey() |
{ |
- if (!event || !WebInspector.isBeingEdited(event.target) || /^F\d+|Control|Shift|Alt|Meta|Win|U\+001B$/.test(keyIdentifier)) |
+ if (!event || !WebInspector.isBeingEdited(/** @type {!Node} */ (event.target)) || /^F\d+|Control|Shift|Alt|Meta|Win|U\+001B$/.test(keyIdentifier)) |
return false; |
if (!keyModifiers) |