Skip to content

Commit

Permalink
Remove add/remove v-fullscreenButtonDisplay class
Browse files Browse the repository at this point in the history
  • Loading branch information
rtritto committed Feb 22, 2025
1 parent bf65b6a commit 40d2e39
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/core/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,6 @@ export default class Player {
// @ts-ignore: Object is possibly 'null'.
this.elements.container[requestFn]()
this.isFullScreen = true
this.elements.outerContainer.classList.add('v-fullscreenButtonDisplay')

if (this.elements.fullscreen) {
this.elements.fullscreen.classList.add('v-controlPressed')
Expand All @@ -513,8 +512,6 @@ export default class Player {
!escKey && document[cancelFn]()
this.isFullScreen = false

this.elements.outerContainer.classList.remove('v-fullscreenButtonDisplay')

if (this.elements.fullscreen) {
this.elements.fullscreen.classList.remove('v-controlPressed')
this.elements.fullscreen.setAttribute('aria-label', 'Enter fullscreen')
Expand Down

0 comments on commit 40d2e39

Please sign in to comment.