зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1459257 - Check the inspector is visible before showing the 3 pane onboarding tooltip. r=jdescottes
This commit is contained in:
Родитель
d0a001f04f
Коммит
4fab290a32
|
@ -296,7 +296,9 @@ Inspector.prototype = {
|
|||
// Setup the toolbar only now because it may depend on the document.
|
||||
await this.setupToolbar();
|
||||
|
||||
if (this.show3PaneTooltip) {
|
||||
// Show the 3 pane onboarding tooltip only if the inspector is visisble since the
|
||||
// Accessibility panel initializes the Inspector.
|
||||
if (this.show3PaneTooltip && this.toolbox.currentToolId === "inspector") {
|
||||
this.threePaneTooltip = new ThreePaneOnboardingTooltip(this.toolbox, this.panelDoc);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче