Fix regression with fullscreen keybind.

For https://github.com/TeamPiped/Piped/issues/139#issuecomment-824821636
This commit is contained in:
FireMasterK 2021-04-22 18:51:45 +05:30
parent 57509b9185
commit a2afdb0b4d
No known key found for this signature in database
GPG Key ID: 8DFF5DD33E93DB58

View File

@ -116,6 +116,7 @@ export default {
case "KeyF":
if (document.fullscreenElement) document.exitFullscreen();
else this.$refs.container.requestFullscreen();
e.preventDefault();
break;
case "KeyM":
videoEl.muted = !videoEl.muted;