From: Darren Date: Sat, 29 Oct 2011 23:34:54 +0000 (+0100) Subject: Meta key now OS dependant X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=07e9c81515667b35dc61fdfa80edc6e67e12594c;p=KiwiIRC.git Meta key now OS dependant --- 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;