From 7bfc80432bd8879f5b1ac04b64d313f78427fa57 Mon Sep 17 00:00:00 2001 From: Darren Date: Tue, 29 Jan 2013 01:47:19 +0000 Subject: [PATCH] Client: Switch next/prev panel hotkeys to [] chars --- client/assets/dev/view.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/assets/dev/view.js b/client/assets/dev/view.js index 201ba9c..adeb87b 100644 --- a/client/assets/dev/view.js +++ b/client/assets/dev/view.js @@ -769,7 +769,7 @@ _kiwi.view.ControlBox = Backbone.View.extend({ meta; if (navigator.appVersion.indexOf("Mac") !== -1) { - meta = ev.ctrlKey; + meta = ev.metaKey; } else { meta = ev.altKey; } @@ -813,11 +813,11 @@ _kiwi.view.ControlBox = Backbone.View.extend({ } break; - case (ev.keyCode === 37 && meta): // left + case (ev.keyCode === 219 && meta): // [ + meta _kiwi.app.panels.view.prev(); return false; - case (ev.keyCode === 39 && meta): // right + case (ev.keyCode === 221 && meta): // ] + meta _kiwi.app.panels.view.next(); return false; -- 2.25.1