add missing parenthesis

pull/144/head
Henrique Dias 2016-09-17 08:25:09 +01:00
parent 0185a9e143
commit c45fedccb4
1 changed files with 7 additions and 7 deletions

View File

@ -826,13 +826,13 @@ document.addEventListener("editor", (event) => {
window.addEventListener('keydown', (event) => { window.addEventListener('keydown', (event) => {
if (event.ctrlKey || event.metaKey) { if (event.ctrlKey || event.metaKey) {
switch (String.fromCharCode(event.which).toLowerCase()) { switch (String.fromCharCode(event.which).toLowerCase()) {
case 's': case 's':
event.preventDefault(); event.preventDefault();
saveContent(); saveContent();
break; break;
} }
} }
} });
return false; return false;
}); });