| Index: third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| index 0d134561edf094872a51bd9f15e6f1421e81614d..49694b80b991562d55433cc87d1adecc8054b55f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/console/ConsoleView.js
|
| @@ -266,8 +266,8 @@ WebInspector.ConsoleView.prototype = {
|
| targetAdded: function(target)
|
| {
|
| this._viewport.invalidate();
|
| - if (WebInspector.targetManager.targets().length > 1 && WebInspector.targetManager.mainTarget().isPage())
|
| - this._showAllMessagesCheckbox.element.classList.toggle("hidden", false);
|
| + var hasMultipleCotexts = WebInspector.targetManager.targets(WebInspector.Target.Capability.JS).length > 1;
|
| + this._showAllMessagesCheckbox.element.classList.toggle("hidden", !hasMultipleCotexts);
|
| },
|
|
|
| /**
|
|
|