$(document).ready(function() {
    $(document).keyup(function(e) {
        var tag = e.target.tagName.toLowerCase();
        if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) {
            if (e.keyCode==78 || e.keyCode==77) {
                $('.nav-menu-icon').trigger('click');
            } else if (e.keyCode==65) {
                $('.search-menu-icon').trigger('click');
            } else if (e.keyCode==73 && e.shiftKey) {
                $( "#new-ip" ).click();
            } else if (e.keyCode==73) {
                $( "#new-indicator" ).click();
            } else if (e.keyCode==69 && e.shiftKey) {
                $( "#new-event" ).click();
            } else if (e.keyCode==69) {
                $( "#new-email-yaml" ).click();
            } else if (e.keyCode==68) {
                $( "#new-domain" ).click();
            } else if (e.keyCode==80) {
                $( "#new-pcap" ).click();
            } else if (e.keyCode==83) {
                $( "#new-sample" ).click();
            } else if (e.keyCode==83) {
                $( "#new-signature" ).click();
            } else if (e.keyCode==27) {
                $( ".mm-opened").trigger('close');
            } else if (e.shiftKey && e.keyCode==191) {
                $( "#shortcut-keys").click();
            }
        }
    });
});


$(document).ready(function() {
    $(document).keyup(function(e) {
        var tag = e.target.tagName.toLowerCase();
        if (tag != 'input' && tag != 'textarea' && tag != 'select' && !e.ctrlKey) {
            if (e.keyCode==78 || e.keyCode==77) {
                $('.nav-menu-icon').trigger('click');
            } else if (e.keyCode==65) {
                $('.search-menu-icon').trigger('click');
            } else if (e.keyCode==73 && e.shiftKey) {
                $( "#new-ip" ).click();
            } else if (e.keyCode==73) {
                $( "#new-indicator" ).click();
            } else if (e.keyCode==69 && e.shiftKey) {
                $( "#new-event" ).click();
            } else if (e.keyCode==69) {
                $( "#new-email-yaml" ).click();
            } else if (e.keyCode==68) {
                $( "#new-domain" ).click();
            } else if (e.keyCode==80) {
                $( "#new-pcap" ).click();
            } else if (e.keyCode==83) {
                $( "#new-sample" ).click();
            } else if (e.keyCode==71) {
                $( "#new-signature" ).click();
            } else if (e.keyCode==27) {
                $( ".mm-opened").trigger('close');
            } else if (e.shiftKey && e.keyCode==191) {
                $( "#shortcut-keys").click();
            }
        }
    });
});


Make the ASCII keyCode unique for the Signature object
Make the ASCII keyCode unique for the Signature object
