Skip to content

Commit

Permalink
HFP-2905 Fix updating fullscreen button title when exiting fullscreen
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmars committed Jan 2, 2020
1 parent 61cb07c commit c59a3c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/scripts/cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -285,6 +285,8 @@ CoursePresentation.prototype.attach = function ($container) {
});

this.on('exitFullScreen', () => {
this.$footer.removeClass('footer-full-screen');
this.$fullScreenButton.attr('title', this.l10n.fullscreen);
this.$fullscreenAnnouncer.html(this.l10n.accessibilityExitedFullscreen);
});

Expand Down

0 comments on commit c59a3c0

Please sign in to comment.