Browse files

Merge branch 'master' into design

  • Loading branch information...
2 parents 72777ee + b9b478b commit f308e98e982a7196c2d7bb74760c8b92152cd0a7 @indutny committed Jun 28, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 public/js/admin.js
View
3 public/js/admin.js
@@ -5,6 +5,9 @@
* Keyboard controls
*/
$(window).keydown(function(e) {
+ // Ignore ctrl+left and etc
+ if (e.ctrlKey || e.altKey || e.shiftKey) return;
+
if (e.which === 37) {
// left
apiCall('POST', '/select', {delta: -1});

0 comments on commit f308e98

Please sign in to comment.