Enable Cmd key support in shortcuts
This commit is contained in:
@@ -463,7 +463,6 @@ define([
|
||||
UIElements.createButton = function (common, type, rightside, data, callback) {
|
||||
var AppConfig = common.getAppConfig();
|
||||
var button;
|
||||
var size = "17px";
|
||||
var sframeChan = common.getSframeChannel();
|
||||
switch (type) {
|
||||
case 'export':
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user