Skip to content
Snippets Groups Projects
Commit e4c885de authored by Kevin Abel's avatar Kevin Abel
Browse files

Merge branch 'a11y-search' into 'master'

Improve a11y search

See https://github.com/unl/wdntemplates/pull/886

See merge request !5
parents 1601e082 0f9e6469
No related branches found
No related tags found
No related merge requests found
......@@ -360,6 +360,14 @@
}
passiveQuery(q, false);
});
if (window.parent != undefined) {
$(document).on('keydown', function(e) {
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