Skip to content

Commit

Permalink
Remove obsolete code
Browse files Browse the repository at this point in the history
  • Loading branch information
otacke committed Dec 19, 2022
1 parent 314203a commit 0e87929
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions src/scripts/interactive-video.js
Original file line number Diff line number Diff line change
Expand Up @@ -2739,12 +2739,7 @@ InteractiveVideo.prototype.addQualityChooser = function () {

var $listSignLanguage = $('');
if (htmlSignLanguage !== '') {
var classesSignLanguage = 'h5p-interactive-video-menu-title';
if (html !== '') {
// Only secondary title
classesSignLanguage += ' h5p-interactive-video-menu-title-secondary';
}
$(`<h3 class="${classesSignLanguage}">${self.l10n.signLanguage}</h3>`).appendTo(this.controls.$qualityChooser);
$(`<h3 class="h5p-interactive-video-menu-title">${self.l10n.signLanguage}</h3>`).appendTo(this.controls.$qualityChooser);
$listSignLanguage = $(`<ul role="menu">${htmlSignLanguage}</ul>`).appendTo(this.controls.$qualityChooser);
}

Expand Down

0 comments on commit 0e87929

Please sign in to comment.