Skip to content

Instantly share code, notes, and snippets.

@jasonLaster

jasonLaster/foo.diff

Created Mar 25, 2016
Embed
What would you like to do?
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