Index: Source/devtools/front_end/InspectorFrontendAPI.js |
diff --git a/Source/devtools/front_end/InspectorFrontendAPI.js b/Source/devtools/front_end/InspectorFrontendAPI.js |
index e06fff24a91fddc511d4b516286db57fbaa4097e..d1236af3b85c4cc452b44e41afcfd6d682276dc4 100644 |
--- a/Source/devtools/front_end/InspectorFrontendAPI.js |
+++ b/Source/devtools/front_end/InspectorFrontendAPI.js |
@@ -79,7 +79,7 @@ var InspectorFrontendAPI = { |
{ |
var uiSourceCode = WebInspector.workspace.uiSourceCodeForURL(url); |
if (uiSourceCode) { |
- WebInspector.showPanel("scripts").showUISourceCode(uiSourceCode, lineNumber, columnNumber); |
+ WebInspector.showPanel("sources").showUISourceCode(uiSourceCode, lineNumber, columnNumber); |
return; |
} |
@@ -90,7 +90,7 @@ var InspectorFrontendAPI = { |
{ |
var uiSourceCode = /** @type {WebInspector.UISourceCode} */ (event.data); |
if (uiSourceCode.url === url) { |
- WebInspector.showPanel("scripts").showUISourceCode(uiSourceCode, lineNumber, columnNumber); |
+ WebInspector.showPanel("sources").showUISourceCode(uiSourceCode, lineNumber, columnNumber); |
WebInspector.workspace.removeEventListener(WebInspector.Workspace.Events.UISourceCodeAdded, listener); |
} |
} |