diff --git a/browser/devtools/markupview/MarkupView.jsm b/browser/devtools/markupview/MarkupView.jsm index 19d5cea4bf7..7ad119c8e4e 100644 --- a/browser/devtools/markupview/MarkupView.jsm +++ b/browser/devtools/markupview/MarkupView.jsm @@ -784,6 +784,9 @@ function MarkupContainer(aMarkupView, aNode) }.bind(this), false); if (this.editor.closeElt) { + this.editor.closeElt.addEventListener("mousedown", function(evt) { + this.markup.navigate(this); + }.bind(this), false); this.codeBox.appendChild(this.editor.closeElt); }