update some icons and stuff

This commit is contained in:
2020-04-14 16:00:24 +02:00
parent 17edc20c90
commit ca096ff2e7
9 changed files with 32 additions and 22 deletions

View File

@@ -383,7 +383,7 @@ btnCopyMarkdown.addEventListener("click", function(){
* Keyboard shortcuts
*/
document.addEventListener("keydown", function(event){
if (event.ctrlKey || event.altKey) {
if (event.ctrlKey || event.altKey || event.metaKey) {
return // prevent custom shortcuts from interfering with system shortcuts
}
if (event.keyCode === 67) { // c