1. Maciej Fijalkowski
  2. hack2

Commits

Maciej Fijalkowski  committed 71513b3

work around a bug in chrome

  • Participants
  • Parent commits a196f61
  • Branches default

Comments (0)

Files changed (1)

File codeviewer/js/libkeys.js

View file
  • Ignore whitespace
 
 $(document).keydown(keys.ev_down);
 $(document).keyup(keys.ev_up);
+$(window).blur(function () {
+    keys.alt_pressed = false;
+    keys.ctrl_pressed = false;
+});
+