Permalink
Browse files

fixed cmd+cursor and returned original control, now just ctrl+cursor …

…works (as per shortcut help)
  • Loading branch information...
1 parent 2468453 commit a82e1850ae67e2857bfb4755c1d337886f527e22 @remy remy committed Jun 24, 2011
Showing with 3 additions and 4 deletions.
  1. +1 −1 VERSION
  2. +2 −3 js/editors/keycontrol.js
View
@@ -1 +1 @@
-2.8.5
+2.8.6
@@ -16,11 +16,11 @@ function keycontrol(panel, event) {
// these should fire when the key goes down
if (event.type == 'keydown') {
- if (event.shiftKey == false && event.metaKey && event.which == 39 && panel.id == 'javascript') {
+ if (event.shiftKey == false && event.ctrlKey && event.which == 39 && panel.id == 'javascript') {
// go right
editors.html.focus();
event.stop();
- } else if (event.shiftKey == false && event.metaKey && event.which == 37 && panel.id == 'html') {
+ } else if (event.shiftKey == false && event.ctrlKey && event.which == 37 && panel.id == 'html') {
// go left
editors.javascript.focus();
event.stop();
@@ -31,7 +31,6 @@ function keycontrol(panel, event) {
$('#control a.preview').click();
event.stop();
} else if (event.which == 191 && event.shiftKey && event.metaKey) {
- console.log('show help');
// show help
$body.toggleClass('keyboardHelp');
keyboardHelpVisible = $body.is('.keyboardHelp');

0 comments on commit a82e185

Please sign in to comment.