Add ESC as a manner to escape the positional and domain overview overlays
laurensvdwiel opened this issue · comments
Implementation:
Add
function keyPress (e) {
if(e.key === "Escape") {
$("#domain_information_overlay").removeClass("is-active");
$("#positional_information_overlay").removeClass("is-active");
d3.selectAll(".tr").classed("is-selected", false);
}
}
To https://github.com/cmbi/metadome/blob/master/metadome/presentation/web/templates/js/dashboard.js
Fixed as of d7eb753