Bug 795239 - [markup panel] Clicking on the closing tag should select the node, r=paul

This commit is contained in:
Girish Sharma 2013-01-17 20:51:24 +05:30
parent efc917b8b9
commit 9343d005dd

View File

@ -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);
}