aboutsummaryrefslogtreecommitdiffstats
path: root/COPYING
diff options
context:
space:
mode:
authorTeddy Wing2022-07-20 03:49:28 +0200
committerTeddy Wing2022-07-20 03:49:28 +0200
commit94c30fef65a1beb49e65860c7ed99964e9c162e2 (patch)
treeab1d90c06ae79d126adc4024ae928be3d7b705aa /COPYING
parentde8013b706108713397158ac0bb0ce8ed32015de (diff)
downloadGitHub-Apple-Option-P-to-Preview-94c30fef65a1beb49e65860c7ed99964e9c162e2.tar.bz2
Attach key event listener to `<html>` instead of `<body>`
Recently I noticed that sometimes the shortcut didn't work. The CSS classes and HTML structure didn't change. The shortcut stopped working after a navigation action. Maybe Turbolinks replaces `<body>` now? Regardless, attaching the event listener to an element higher in the tree allows the shortcut to continue working even after navigation.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions