From 07e9c81515667b35dc61fdfa80edc6e67e12594c Mon Sep 17 00:00:00 2001 From: Darren Date: Sun, 30 Oct 2011 00:34:54 +0100 Subject: [PATCH] Meta key now OS dependant --- client/js/front.ui.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/client/js/front.ui.js b/client/js/front.ui.js index bd4a017..f7159c4 100644 --- a/client/js/front.ui.js +++ b/client/js/front.ui.js @@ -51,8 +51,12 @@ kiwi.front.ui = { $('#kiwi_msginput').bind('keydown', function (e) { var windows, meta, num, msg, data, self; windows = $('#windows'); - //var meta = e.altKey; - meta = e.ctrlKey; + + if (navigator.appVersion.indexOf("Mac") != -1) { + meta = e.ctrlKey; + } else { + meta = e.altKey; + } if (e.which !== 9) { tabcomplete.active = false; -- 2.25.1