Skip to content
Snippets Groups Projects
Commit 8a6b0ff3 authored by Kris Maglione's avatar Kris Maglione
Browse files

Bug 1384078: Prevent enter key from closing extension panels. r=Gijs

MozReview-Commit-ID: DnpiIUc4RkH

--HG--
extra : amend_source : f768acea169a593bf7313a58378ca4b7c84d4e87
parent 63d03a76
No related branches found
No related tags found
No related merge requests found
......@@ -469,6 +469,7 @@ class ViewPopup extends BasePopup {
async attach(viewNode) {
this.viewNode = viewNode;
this.viewNode.addEventListener(this.DESTROY_EVENT, this);
this.viewNode.setAttribute("closemenu", "none");
if (this.extension.remote) {
this.panel.setAttribute("remote", "true");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment