cmbi / metadome

MetaDome is aimed at professionals in the (bio-)medical field of human genetics who wish to visualize the position of their mutation of interest in the context of general population-based genetic variation and provide detailed information of pathogenic variants found across homologous domain positions.

Home Page:https://stuart.radboudumc.nl/metadome/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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