Skip to content

Commit

Permalink
Merge pull request #12 from leadwolf/patch-1
Browse files Browse the repository at this point in the history
Ignore ctrl key
  • Loading branch information
ZimbiX authored Oct 20, 2023
2 parents b2efd2c + eb6d229 commit b2185cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extension/contentScript.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
})

document.addEventListener("keydown", e => {
if (isWatchVideoPage() && e.code == 'KeyF' && !isWritingText(e)) {
if (isWatchVideoPage() && !e.ctrlKey && e.code == 'KeyF' && !isWritingText(e)) {
console.log(e)
fastToggleFullScreen()
}
Expand Down

0 comments on commit b2185cc

Please sign in to comment.