Skip to content
Snippets Groups Projects
Commit 0f9e6469 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Remove unneeded code

parent 2fd99855
No related branches found
No related tags found
1 merge request!5Improve a11y search
......@@ -363,7 +363,7 @@
if (window.parent != undefined) {
$(document).on('keydown', function(e) {
if (!e.keyCode || e.keyCode === 27) {
if (e.keyCode === 27) {
window.parent.postMessage('wdn.search.close', "*");
}
});
......
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