mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 795239 - [markup panel] Clicking on the closing tag should select the node, r=paul
This commit is contained in:
parent
a06835836c
commit
5adc2461c8
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user