diff --git a/radialmenu/html/menu.html b/radialmenu/html/menu.html index 0375c85..0daff19 100644 --- a/radialmenu/html/menu.html +++ b/radialmenu/html/menu.html @@ -113,7 +113,7 @@ }); window.addEventListener("keyup", function onEvent(event) { // Close menu when key is released - if (event.key === menuKeybind) { + if (event.key == menuKeybind) { $.post('http://'+resourceName+'/closemenu', JSON.stringify({})); } });