Commits

Maciej Fijalkowski committed 71513b3

work around a bug in chrome

Comments (0)

Files changed (1)

codeviewer/js/libkeys.js

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