Skip to content

Commit

Permalink
! Fix code for getting event.key lowercase value (#3061)
Browse files Browse the repository at this point in the history
  • Loading branch information
PikachuEXE authored Jan 14, 2023
1 parent 97cb339 commit 67b9a74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/ft-video-player/ft-video-player.js
Original file line number Diff line number Diff line change
Expand Up @@ -1823,7 +1823,7 @@ export default Vue.extend({
}

// allow copying text
if ((event.ctrlKey || event.metaKey) && event.key.lowercase() === 'c') {
if ((event.ctrlKey || event.metaKey) && event.key.toLowerCase() === 'c') {
return
}

Expand Down

0 comments on commit 67b9a74

Please sign in to comment.