projects
/
KiwiIRC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3b6433
)
Meta key now OS dependant
author
Darren
<darren@darrenwhitlen.com>
Sat, 29 Oct 2011 23:34:54 +0000
(
00:34
+0100)
committer
Darren
<darren@darrenwhitlen.com>
Sat, 29 Oct 2011 23:34:54 +0000
(
00:34
+0100)
client/js/front.ui.js
patch
|
blob
|
blame
|
history
diff --git
a/client/js/front.ui.js
b/client/js/front.ui.js
index bd4a017e0f625fdac425e0cd303d260c9df4cc10..f7159c45880c87d1789bec9498feaa76a6fb77f7 100644
(file)
--- 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) {
\r
var windows, meta, num, msg, data, self;
\r
windows = $('#windows');
\r
- //var meta = e.altKey;
\r
- meta = e.ctrlKey;
\r
+
\r
+ if (navigator.appVersion.indexOf("Mac") != -1) {
\r
+ meta = e.ctrlKey;
\r
+ } else {
\r
+ meta = e.altKey;
\r
+ }
\r
\r
if (e.which !== 9) {
\r
tabcomplete.active = false;
\r