mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-08 20:48:48 +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;
|
find = false;
|
||||||
$("body").keydown(function(event) {
|
$("html").keydown(function(event) {
|
||||||
if ((event.keyCode == 13 && find) || (event.keyCode == 27 && find) || (event.ctrlKey && event.keyCode === 70))
|
if ((event.keyCode == 13 && find) || (event.keyCode == 27 && find) || (event.ctrlKey && event.keyCode === 70))
|
||||||
{
|
{
|
||||||
find = !find;
|
find = !find;
|
||||||
|
|||||||
Reference in New Issue
Block a user