]> git.proxmox.com Git - mirror_novnc.git/commit
Avoid recursion in Alt check on Firefox
authorJesper Alf Dam <jdam@vitalimages.com>
Fri, 16 Aug 2019 12:27:12 +0000 (14:27 +0200)
committerJesper Alf Dam <jdam@vitalimages.com>
Fri, 16 Aug 2019 14:20:41 +0000 (16:20 +0200)
commite9f489a6292c453d900284523e4ff0c0f67333a0
treeece4ab09d0508494e97746108e994c7446d94653
parente1d50c8c10563edcacebcaeb32d022906aa003d2
Avoid recursion in Alt check on Firefox

The Firefox workaround which checks for missing Alt key events may
synthesise new KeyboardEvents. On these events, checkAlt should not be
recursively triggered. Otherwise, we get "too much recursion" errors
whenever the Alt key is pressed.
core/input/keyboard.js