Skip to content

Instantly share code, notes, and snippets.

@jasonLaster
Created March 25, 2016 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jasonLaster/2768b58da831460e7f57 to your computer and use it in GitHub Desktop.
Save jasonLaster/2768b58da831460e7f57 to your computer and use it in GitHub Desktop.
diff --git a/devtools/client/debugger/content/views/sources-view.js b/devtools/client/debugger/content/views/sources-view.js
index 365599f..7833789 100644
--- a/devtools/client/debugger/content/views/sources-view.js
+++ b/devtools/client/debugger/content/views/sources-view.js
@@ -684,11 +684,13 @@ SourcesView.prototype = Heritage.extend(WidgetMethods, {
// Show the conditional expression panel. The popup arrow should be pointing
// at the line number node in the breakpoint item view.
+ setTimeout(() => {
this._cbPanel.hidden = false;
this._cbPanel.openPopup(breakpointItem.attachment.view.lineNumber,
BREAKPOINT_CONDITIONAL_POPUP_POSITION,
BREAKPOINT_CONDITIONAL_POPUP_OFFSET_X,
BREAKPOINT_CONDITIONAL_POPUP_OFFSET_Y);
+ }, 100);
},
/**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment