summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/front-end/SidebarPane.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/front-end/SidebarPane.js')
-rw-r--r--WebCore/inspector/front-end/SidebarPane.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/inspector/front-end/SidebarPane.js b/WebCore/inspector/front-end/SidebarPane.js
index 855894c..ebc62db 100644
--- a/WebCore/inspector/front-end/SidebarPane.js
+++ b/WebCore/inspector/front-end/SidebarPane.js
@@ -125,7 +125,7 @@ WebInspector.SidebarPane.prototype = {
_onTitleKeyDown: function(event)
{
- if (isEnterKey(event) || event.keyCode === WebInspector.KeyboardShortcut.KeyCodes.Space)
+ if (isEnterKey(event) || event.keyCode === WebInspector.KeyboardShortcut.Keys.Space.code)
this.toggleExpanded();
}
}