From 1e1faff6d9b3890796a0de9324afc314358a8f6f Mon Sep 17 00:00:00 2001 From: max_devjs Date: Wed, 1 Feb 2017 23:23:44 -0200 Subject: [PATCH] Fix keyboard accelerators on Linux (#2316) Signed-off-by: Massimiliano Giroldi --- src/utils/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/Util.js b/src/utils/Util.js index 6b43931e..cb335676 100644 --- a/src/utils/Util.js +++ b/src/utils/Util.js @@ -105,7 +105,7 @@ module.exports = { return 'Documents'; }, CommandOrCtrl: function () { - return this.isWindows() ? 'Ctrl' : 'Command'; + return (this.isWindows() || this.isLinux()) ? 'Ctrl' : 'Command'; }, removeSensitiveData: function (str) { if (!str || str.length === 0 || typeof str !== 'string' ) {