Index: third_party/WebKit/Source/devtools/front_end/ui/ShortcutRegistry.js |
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/ShortcutRegistry.js b/third_party/WebKit/Source/devtools/front_end/ui/ShortcutRegistry.js |
index a0137429fef72b7c1cfb7563dfce843287883482..ae3e4b3622630a6b86e95eec201f592c56004c31 100644 |
--- a/third_party/WebKit/Source/devtools/front_end/ui/ShortcutRegistry.js |
+++ b/third_party/WebKit/Source/devtools/front_end/ui/ShortcutRegistry.js |
@@ -90,7 +90,7 @@ WebInspector.ShortcutRegistry.prototype = { |
var actions = this._applicableActions(key); |
if (!actions.length) |
return; |
- if (WebInspector.GlassPane.DefaultFocusedViewStack.length > 1) { |
+ if (WebInspector.Dialog.hasInstance()) { |
if (event && !isPossiblyInputKey()) |
event.consume(true); |
return; |