Commit b1af7355 authored by marc duez's avatar marc duez
Browse files

shortcut.js : add ctrl+l shortcut for log window

parent b9d3423f
...@@ -159,6 +159,7 @@ Shortcut.prototype = { ...@@ -159,6 +159,7 @@ Shortcut.prototype = {
else else
m.previousTime(); m.previousTime();
break; break;
case 39 : // Right arrow case 39 : // Right arrow
e.preventDefault() e.preventDefault()
if (e.shiftKey || e.metakey) if (e.shiftKey || e.metakey)
...@@ -189,11 +190,17 @@ Shortcut.prototype = { ...@@ -189,11 +190,17 @@ Shortcut.prototype = {
} }
} }
break; break;
case 80 : //shift+p : open patient case 80 : //shift+p : open patient
e.preventDefault() e.preventDefault()
if(e.shiftKey || e.metakey) db.reload() if(e.shiftKey || e.metakey) db.reload()
break; break;
case 76 : // Ctrl+l
e.preventDefault()
if (console.toggleLog) console.toggleLog();
break;
default: default:
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment