Skip to content

Commit

Permalink
Standard JS
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoroth committed Dec 2, 2024
1 parent 84db0b7 commit 13d650d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/javascript/controllers/video_player_controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default class extends Controller {
const playbackRateSelect = this.createPlaybackRateSelect(this.playbackRateOptions, player)
volumeButton.parentNode.insertBefore(playbackRateSelect, volumeButton.nextSibling)

if (this.providerValue === "youtube") {
if (this.providerValue === 'youtube') {
const openInYouTube = this.createOpenInYoutube()
volumeButton.parentNode.insertBefore(openInYouTube, volumeButton.previousSibling)
}
Expand Down

0 comments on commit 13d650d

Please sign in to comment.