Enable Cmd key support in shortcuts

This commit is contained in:
yflory
2018-03-01 14:48:36 +01:00
parent 12bfcbe701
commit b7b560fcb8
5 changed files with 4 additions and 6 deletions

View File

@@ -777,7 +777,7 @@ define([
content: '<span class="fa fa-plus-circle"></span> ' + Messages.creation_appMenuName
});
$(window).keydown(function (e) {
if (e.which === 69 && (e.ctrlKey || e.metaKey)) {
if (e.which === 69 && (e.ctrlKey || (navigator.platform === "MacIntel" && e.metaKey))) {
Common.createNewPadModal();
}
});