mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-10-29 18:00:23 +00:00
Changed location of find to html instead of body
This commit is contained in:
@@ -8,7 +8,7 @@ $(document).ready(function()
|
||||
};
|
||||
});
|
||||
find = false;
|
||||
$("body").keydown(function(event) {
|
||||
$("html").keydown(function(event) {
|
||||
if ((event.keyCode == 13 && find) || (event.keyCode == 27 && find) || (event.ctrlKey && event.keyCode === 70))
|
||||
{
|
||||
find = !find;
|
||||
|
||||
Reference in New Issue
Block a user