Difference between revisions of "Template:Sidebar"
Adelo Vieira (talk | contribs) |
Adelo Vieira (talk | contribs) |
||
Line 331: | Line 331: | ||
} | } | ||
+ | // document.addEventListener("keydown", function(event) { | ||
+ | // if (event.ctrlKey && event.code === "KeyB") { | ||
+ | // alert('Alt + X pressed!'); | ||
+ | // event.preventDefault(); | ||
+ | // } | ||
+ | // }); | ||
+ | |||
+ | // function aver(){ | ||
+ | // $('body').keypress(function(e) { | ||
+ | // var c = String.fromCharCode(e.which); | ||
+ | // if (c.toUpperCase() === c && c.toLowerCase() !== c && !e.shiftKey) { | ||
+ | // alert('Alt + X pressed!'); | ||
+ | // } | ||
+ | // }); | ||
+ | // } | ||
// function doc_keyUp(e) { | // function doc_keyUp(e) { | ||
Line 359: | Line 374: | ||
collapseAll() | collapseAll() | ||
// moveSidebarToBody() | // moveSidebarToBody() | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}); | }); | ||
</script> | </script> |
Revision as of 01:25, 9 March 2021