mirror of https://github.com/FreeTubeApp/FreeTube
! Fix Ctrl/Cmd + C unable to copy text when viewing video (#3027)
This commit is contained in:
parent
43a25f8738
commit
0d0d64d957
|
@ -1822,6 +1822,11 @@ export default Vue.extend({
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// allow copying text
|
||||||
|
if ((event.ctrlKey || event.metaKey) && event.key.lowercase() === 'c') {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
if (this.player !== null) {
|
if (this.player !== null) {
|
||||||
switch (event.key) {
|
switch (event.key) {
|
||||||
case ' ':
|
case ' ':
|
||||||
|
|
Loading…
Reference in New Issue