Skip to content
Snippets Groups Projects
Commit b35acd37 authored by alexisben's avatar alexisben
Browse files

Search on enter key

parent e9e4392a
No related branches found
No related tags found
No related merge requests found
......@@ -126,6 +126,7 @@ lang = about&.language&.iso_code if about.respond_to? :language
if (event.key === "Enter" && this.isOpened) {
event.preventDefault();
event.stopImmediatePropagation();
this.search();
}
}.bind(this));
},
......
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